Skip to content
This repository was archived by the owner on Jan 26, 2022. It is now read-only.

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.)

Clone this wiki locally