BASIC FUNCTIONS
SECTION 5.10
However,
IF A=B AND B=C AND D=5 THEN PRINI'
11
TRUE
11
will only print "TRUE" if all conditions are satisfied,
IF A THEN PRINI'"TRUE"
will print "TRUE" only if the variable A is non-zero, i.e.
if A=-19 then "TRUE" will be printed.
See section 4,2,2, EXPRESSIONS AND OPERATORS, and 4,2,3,
LOGICAL OPERATIONS, for precise details of logical
operators.
Remarks For strings of unequal length the equality will be true if
the string on the left of the equates is equal to or part
of the string on the right as follows:
VER.V09F
IF A$
~
"ABC" and B$ = "ABCD"
THEN
A$ = B$ is true
B$ = A$ is
not true
PAGE 5 - 43