EasyManua.ls Logo

WILLTEK 4403 - Operators

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
156 WCDMA Options Version 6.20
Names of constants without any identifier (&B, &O, &H) are always interpreted
as double (floating point) values.
These are eight-byte values with a range from –1.79769313486232E308 to
-4.94065645841247E–324 for negative values and from
4.94065645841247E-324 to 1.79769313486232E308 for positive values.
String constant
The syntax of a string constant is as follows:
" {any character} "
A string constant may contain any character accessible via the (external)
keyboard and is always framed by quotation marks.
Operators The following table lists the numeric, string and boolean operators, along with
their priority. The smaller the number in the priority column, the higher the
priority.
During calculations, first all operators with priority 1 are performed, than all of
priority 2 and so on. Priorities assure that the usual sequence of operations (e.g.
multiplication and division first, then addition or subtraction) are performed
without the need of brackets.
Octal &O {0...7} &O37721 2 to the power of 32 (2^32)
Hexadecimal &H {0...9 |
A...F}
&H4AF3 2 to the power of 32 (2^32)
NOTE
If you want a quotation mark to appear within a string, simply enter two
consecutive quotation marks.
Example:
"Willtek 4400 ""RAPID!"" Program" equals the following
contents of the string variable: ‘Willtek 4400 "RAPID!" Program’
NOTE
The maximum length (i.e. number of characters) for a string constant is
65,535.
Type Operator Priority Meaning
Sign operators + 1 Positive sign
1 Negative sign
NOT 1 Negation (Inversion)
Arithmetic operators * 2 Multiplication
/2Division
\ 2 Integer division
MOD 2 Modulo division

Table of Contents

Other manuals for WILLTEK 4403

Related product manuals