September 2017 Update
This commit is contained in:
parent
bba7bfd280
commit
ba8067c3b7
14570 changed files with 153136 additions and 63871 deletions
13
Task/Logical-operations/BASIC/logical-operations-3.basic
Normal file
13
Task/Logical-operations/BASIC/logical-operations-3.basic
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
PROClogic(FALSE, FALSE)
|
||||
PROClogic(FALSE, TRUE)
|
||||
PROClogic(TRUE, FALSE)
|
||||
PROClogic(TRUE, TRUE)
|
||||
END
|
||||
|
||||
DEF PROClogic(a%, b%)
|
||||
LOCAL @% : @% = 2 : REM Column width
|
||||
PRINT a% " AND " b% " = " a% AND b% TAB(20);
|
||||
PRINT a% " OR " b% " = " a% OR b% TAB(40);
|
||||
PRINT a% " EOR " b% " = " a% EOR b% TAB(60);
|
||||
PRINT " NOT " a% " = " NOT a%
|
||||
ENDPROC
|
||||
Loading…
Add table
Add a link
Reference in a new issue