September 2017 Update
This commit is contained in:
parent
bba7bfd280
commit
ba8067c3b7
14570 changed files with 153136 additions and 63871 deletions
8
Task/Boolean-values/BASIC/boolean-values-2.basic
Normal file
8
Task/Boolean-values/BASIC/boolean-values-2.basic
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
' Boolean TRUE and FALSE are non-zero and zero constants
|
||||
a = TRUE
|
||||
b = FALSE
|
||||
PRINT a, ", ", b
|
||||
|
||||
IF 0 THEN PRINT "TRUE" : ELSE PRINT "FALSE"
|
||||
IF 1 THEN PRINT "TRUE"
|
||||
IF 2 THEN PRINT "TRUE"
|
||||
Loading…
Add table
Add a link
Reference in a new issue