This repository was archived by the owner on Jan 26, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2
Chained store
Peter Tillema edited this page Sep 15, 2018
·
2 revisions
In TI-BASIC, if you wanted to store the same value to multiple variables, you would have to write the initial value multiple times like this:
42→A
42→B
42→C
42→D
40→E
In ICE, you can instead chain the whole thing together on one line: 42→A→B→C→D-2→E
. It saves a few bytes and makes your code less cluttered. (It also works with multi-letter variables, of course.)
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