Chapter 7
RAPID!
RAPID! syntax
4460 GSM System Option and 4468 EDGE System Option
Version 12.20
269
Example:
boolExp := NOT boolExp | boolExp AND | OR |
XOR boolExp
This means by words: A boolean expression is either the negation of another
boolean expression, or two boolean expressions linked with one of the three
operators: AND, OR, and XOR.
Please note that this is only an example. The complete definition of
is a bit more complex.
Program lines
Each RAPID! program consists of a number of program lines. Those lines contain
the BASIC statements and have the following structure:
[label:] statement [: statement]
label:
A program line starts with an optional label. In contrary to AUTORUN
programs, line numbers are not required.
With RAPID!, labels are mainly used as branch targets.
A label must always end with a colon.
statement
A statement is a BASIC command.
Important notes
– A program line always needs to be terminated by a carriage return (CR). This
symbol is equivalent to pushing the ‘Enter’ key at the end of a program line.
– It is not possible to show the maximum of 254 characters in one line on-
screen. Therefore, a program line may stretch out over several lines on-
screen. To indicate that the program line is continued, put a blank followed
by an underscore ‘
_
’ and then push
Enter
to start a new line.
Example:
print "RAPID!" _
;" Program"
– There must not be empty lines between continued program lines.
– An underscore at the end of a ‘REM’ command will cause a syntax error.
– The debugger will only highlight the first screen line of continued program
lines.
– As mentioned before, a program line may contain up to 254 characters and
several statements. However, we strongly recommend to use only one state-
ment per program line wherever possible. Several statements in a program
line lower the readability of the program code and usually make servicing a
program quite tricky.
NOTE
Notations can also be nested. This makes them suitable for expressing even
complicated syntax.
Содержание 4400 Mobile Phone Tester Series
Страница 2: ......
Страница 4: ...ii 4460 GSM System Option and 4468 EDGE System Option Version 12 20 ...
Страница 16: ...Table of Contents xiv 4460 GSM System Option and 4468 EDGE System Option Version 12 20 ...
Страница 24: ...Safety Notes Shutdown when defective xxii 4460 GSM System Option and 4468 EDGE System Option Version 12 20 ...
Страница 64: ...Chapter 1 Overview Accessories and options 40 4460 GSM System Option and 4468 EDGE System Option Version 12 20 ...
Страница 272: ...Chapter 6 Tools Audio measurements 248 4460 GSM System Option and 4468 EDGE System Option Version 12 20 ...