Operator Precedence; Labels - CipherLab 8 Series User Manual

Hide thumbs Also See for 8 Series:
Table of Contents

Advertisement

3.4 OPERATOR PRECEDENCE

The precedence of BASIC operators affects the evaluation of operands in expressions.
Expressions with higher precedence operators are evaluated first. The precedence of
BASIC operators is listed below in the order of precedence from highest to lowest. Where
several operators appear together, they have equal precedence.
Order of Precedence
Highest
Lowest

3.5 LABELS

Line labels are used to represent some special lines in the BASIC program. They can be
either integer numbers or character strings.
A valid integer number for the line label is in the range of 1 to 32,767.
A character string label can have up to 49 characters. (If the string label has more
than 49 characters, it will be truncated to 49 characters long.)
The maximum number of labels is 1,000.
Note: The maximum compilable lines are 12,000. (trial version: 1,000 lines)
A character string label that precedes a program line must have a colon ":" between the
label and the program line, but it is not necessary for an integer label. For example,
GOTO 100
...
100
PRINT "This is an integer label."
...
GOTO Label2
...
Label2:
Type of Operation
Arithmetic – Exponentiation
Arithmetic – Multiplication, Division, Modulo
Arithmetic – Addition, Subtraction
Relational
Logical
Assignment
PRINT "This is a character string label."
Chapter 3
Basics of the CipherLab BASIC Language
Symbol
^
*, \, /, MOD
+, -
=, <>, >, <, >=, <=
AND, NOT, OR, XOR
=
23

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the 8 Series and is the answer not in the manual?

This manual is also suitable for:

83008000840087008200

Table of Contents