{"id":13853,"date":"2024-10-19T14:16:45","date_gmt":"2024-10-19T18:16:45","guid":{"rendered":"https:\/\/www.sceneri.com\/?post_type=sceneri-docs-glossar&p=13853"},"modified":"2024-11-12T04:05:47","modified_gmt":"2024-11-12T09:05:47","slug":"variable","status":"publish","type":"sceneri-docs-glossar","link":"https:\/\/www.sceneri.com\/sceneri-docs-glossar\/variable\/","title":{"rendered":"Variable"},"content":{"rendered":"
A variable in computer programming is a named location in memory where data can be stored. Variables are used to store information that is needed by a program. For example, a variable can be used to store the player’s score in a game or the current temperature in a weather forecast.<\/span><\/p>\n<\/div>\n Variables are created using a variable declaration statement. The general syntax for a variable declaration statement is:<\/span><\/p>\n<\/div>\n<\/div>