Commodore 128D User Manual page 346

Hide thumbs Also See for 128D:
Table of Contents

Advertisement

expression is true, the result is assigned an integer value of - 1. If
false, a value of 0 is assigned.
EXAMPLES:
IF A = B AND C = D THEN 100
IFA=*BORC = DTHEN100
A = 5:B = 4:PRINTA=B
A = 5:B = 4:PRINTA>3
PRINT 123 AND 15.PRINT 5
OR 7
See also the XOR function.
Requires both A= B & C = D
to be true.
Allows either A= B or C = D
to be true.
Displays a value of 0.
Displays a value of - 1.
Displays 11 and 7.
U
U
LJ
LJ
LJ
LJ
338
BASIC 7.0 ENCYCLOPEDIA—Variables and Operators

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the 128D and is the answer not in the manual?

Table of Contents