209
Chapter 11: Programming Features
4 Wait Wait [natural number (1 to 255)]
Interrupts execution for the
(natural number) of seconds. If
no value is specified, interruption
continues until any key is
pressed.
• Asymbolwillashattheupper
right corner of the screen during the wait.
• Thiscommandcanbeusedfordisplayingintermediateresultsor
other information.
5 Rem Rem comments
CommentsstartwithRemandextendtotheendoftheline.
These lines are ignored at execution.
Commentsshouldbeenteredasnotesforfuturereference,though
it should be noted that they do occupy some memory space.
6 End End
Indicates the end of a program.
End is not necessary at the last line of the program.
7 Key Key variable
If a numeric key or one of the cursor keys is pressed, the variable
is set to the corresponding numeric value as specified in the
following table.
KeysandCorrespondingNumbers
B BRNCH menu
P
B
See6.Flowcontroltoolsonpage214.
keys Numbers keys Numbers keys Numbers
0
0
5
5
'
10
1
1
6
6
;
11
2
2
7
7
{
12
3
3
8
8
}
13
4
4
9
9