Editing Squirrel Variables
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 3: | Line 3: | ||
Every program in any programming language is made up of instructions called '''statements''' which manipulate data to produce a desired result. Squirrel stores data into regions of memory as '''objects'''. Objects which we give an '''identifier''' (name) in our programs are called '''variables'''. | Every program in any programming language is made up of instructions called '''statements''' which manipulate data to produce a desired result. Squirrel stores data into regions of memory as '''objects'''. Objects which we give an '''identifier''' (name) in our programs are called '''variables'''. | ||
You can think of statements as analogous to sentences in the language we speak to each other; each requires a specific set of items in a | You can think of statements as analogous to sentences in the language we speak to each other; each requires a specific set of items in a specific order to be considered valid, and each is ended with a specific character. Sentences are mostly ended with periods, and statements always end with a semicolon. | ||