Scripts
Very simple script interpreter. Every line is interpreted by
CLI except lines beginning with : (colon) or ; (semicolon). After
reading a semicolon the script restarts from the beginning.
A line has to be <= 80 chars long.
The script buffer is 800 bytes and shares the same memory for the
images (dotmatrix). That means one buffer has room for about 50
command lines. If that is not enough then you can start another
script buffer within the script.
Special Commands
:wait n
waits n seconds
:exit
aborts script
;
script end, restart script from beginning
Sample
CLI> set script 40
set string upper Hallo
set string lower Velo
set upper string
set lower string
:wait 10
set upper speed
set lower trip
:wait 10
;
CLI> show script 40
set string upper Hallo
set string lower Velo
set upper string
set lower string
:wait 10
set upper speed
set lower trip
:wait 10
;
CLI> script start 40
CLI> script stop
script stopped
|