McIDAS User's Guide
Version 2018.1
[Search Manual] [Table of Contents] [Go to Previous] [Go to Next]
Creates a replacement statement in a McBASI program.
The hexadecimal constant $nnnn is available, e.g., $FE equals 254. A single array is also available; one thousand words are reserved and referenced by following a numeric variable name with a parenthetical expression. The value of this expression is added to the value of the variable to obtain an index into this array space.
LET A=0
LET B=A(13) References the 13th word
LET C=10
LET B=C(13) References the 23rd word (10 + 13)
Do not mix numeric and character expressions. The VAL function converts character to numeric; STR$ converts numeric to character. In most cases, the LET may be omitted.
[Search Manual] [Table of Contents] [Go to Previous] [Go to Next]