Chapter 7
RAPID!
RAPID! syntax
4460 GSM System Option and 4468 EDGE System Option
Version 12.20
267
Focus Next —
Toggles the cursor location between the output, the source and
the variable area.
Start File —
Activates the RAPID Basic File selection field and allows you to
select a different file. After you confirm your choice, the newly selected file is
ready for debugging.
RAPID! syntax
This chapter gives an overview of the RAPID! syntax and is subdivided into the
following sections:
–
– Here you will find all about the general aspects of the
syntax like program line formats, basic rules, syntax check or notation.
–
– This section outlines all details on the program line format
and its elements.
–
– Are you familiar with numeric variables, string and array vari-
ables or dimensions? Here you will find it all.
–
– This section gives all information on numeric and string
constants.
–
– RAPID! provides you with a number of operators like sign, arith-
metic operators, comparisons or boolean operators.
–
– These are combinations of variables, constants, function
results and/or operators.
General syntax
BASIC form
The RAPID! programming syntax is compatible with current BASIC derivatives,
such as e.g. Quick BASIC or Visual BASIC.
However, RAPID! in its current form does not allow for object-oriented exten-
sions.
On the other hand, RAPID! supports a number of functions that are vital for the
use of the programming language on the 4400.
Program and line formats
Line labels (i.e. numbers) are optional. This means, they are not necessary.
A program line may include several BASIC commands. In that case, they have to
be separated by colons (
:
).
The maximum length of a program line is 254 characters.
However it is suggested to keep the program lines short. This increases service-
ability and eases debugging of a program.
The length of a program is (in theory) only limited by the disk space available.