EasyManua.ls Logo

WILLTEK 4403 - Program Lines

WILLTEK 4403
484 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 6 RAPID!
RAPID! syntax
WCDMA Options Version 6.20
153
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 Boolean
expressions 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.

Table of Contents

Other manuals for WILLTEK 4403

Related product manuals