Chapter 7
RAPID!
Commands
278
4460 GSM System Option and 4468 EDGE System Option
Version 12.20
STOP
WAIT
Screen commands
These commands control the screen output of the 4400.
The following screen commands are available in RAPID!:
Parameters
anyText
can be any text not exceeding the current line.
Note:
The program line extension symbol can’t be used
on REM lines.
Description
Enables you to include comments in the programs. Com-
ments not only help other people to maintain your code;
it might well be that you need some hints to understand
your own code when you look at it from a long distance
in time.
Example
REM The next line will define a vari-
able
LET i = 42 ‘ Who does not call his
integers "i"
Syntax
STOP
Parameters
STOP
does not have any parameters.
Description
Stops the program execution, but does not end the pro-
gram (important e.g. to keep the values of variables when
debugging a program).
Example
If n = 10 then STOP
Syntax
WAIT msec
Parameters
msec
specifies the time the program will wait in milli-
seconds.
msec
can only be entered as an integer value.
The maximum time is 32,767 milliseconds.
Description
Stops the program execution for the duration of the time
specified in parameter
msec
.
Example
PRINT "Please connect mobile now"
WAIT 2000
Prints user information and then halts the program for
two seconds.
Command
Short description
CLS
Clears the screen.
INPUT
Waits for a user entry and stores the value.