-
-
Notifications
You must be signed in to change notification settings - Fork 2
Multi letter variables
In ICE, you have variables just like any most other programming languages, you can read their values, store values into them, and use them in expressions. Remember that ICE still only supports 3-byte numbers.
Note: the "→" symbol in this document is the STORE character, you type this by pressing the button just left of 1, [STO→]
.
Variables in ICE work very similarly to TI-BASIC, but they're better and you have more of them. Instead of single-letter variables in TI-BASIC such as A or X, ICE lets you have any variable name, up to 20 characters, as long as the entire name is made out of CAPITAL letters. Examples:
1999→APPLES
98*2→FRANK
42→MEANING
2*FROG→LION
You may still use single characters as variables if you wish. By default, all variables are stored with 3-bytes.
Note: you can use up to 85 variables!
ICE Compiler | Peter Tillema
- Introduction
- Building your first program
- Math and numbers
- Variables
- Standard system commands
- Program flow control
- Pointers
- Graphics
- Sprites
- Tilemaps
- Useful routines