I should like to include in the rules the possibility of indirect adressing. This should be used to read a small table for example 10 values stored in var#1 to var#10
The index could be stored in var#11 and the result in var#12 with following formula : Let,12,[var#[var#11]]
Code: Select all
// Table
On system#boot do
Let,1,16
Let,2,20
let,3,46
let,4,64
let,5,88
...
endon
// Var#11 is the index of the table
// Var#12 is the output of the table value
Let,12,[var#[var#11]]
Is it a big work to include this possibility ?
Patou