The Expression Variable
|Top Previous Next|
The result of the evaluation of an expression is stored into a special place called the “Variable”. There is only one Variable; and every time an expression is evaluated, the old value is overwritten by the new value.
You also can set the Variable with a number that is in the scoop. The number is converted from its ASCII representation. For example, the ASCII string “193” is converted to the numeric value 193. There are two commands that perform this conversion:
BX – Interprets text as hexadecimal BT – Interprets text as decimal
These commands search from the beginning of the scoop for a decimal or hexadecimal string (which must be within the first 80 characters otherwise a zero will be returned). The resulting converted number is stored in the Variable.