-
Notifications
You must be signed in to change notification settings - Fork 9
Closed
Labels
bugSomething isn't workingSomething isn't workingquestionFurther information is requestedFurther information is requested
Description
Is it allowed to evaluate truth values without comparison operators? e.g.
DIM B AS BYTE
B = 0
IF B THEN
PRINT "true"
ELSE
PRINT "false"
END IF
(B=0 should print "false" and b<>0 should print "true")
or should it always have comparison operator e.g.
DIM B AS BYTE
B = 0
IF B<>0 THEN
PRINT "true"
ELSE
PRINT "false"
END IF
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingquestionFurther information is requestedFurther information is requested