home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ST-Computer Leser-CD 2000 January
/
LCD_01_2000.iso
/
anwend
/
luna146
/
_english
/
scripts
/
fornext.lus
< prev
next >
Wrap
Text File
|
1999-10-13
|
657b
|
21 lines
; Luna script with loops and variables.
; Variables are integers (long), identified with the percent character '%'.
; With the statement "for i%=65" a variable named "i%" will be created
; and this will be assigned the value 65 to initialise the loop.
; A variable is nothing more than a description that has a small memory
; block allocated to it by the program. This memory block can then be
; assigned values, or values can be read from it.
; A For/Next-loop may also contain further loops, if their variables
; have a different description to the higher order loop.
; Example:
for i%=65 to 76
keypress(i%,0)
next i%
end()