To properly display this page you need a browser with JavaScript support.
HTBasic Help
×
Menu
Index
Search
Search
HTBasic Example Programs
EXOR EXAMPLE
Previous page
Next page
Print version
(c) TransEra Corp, 2021
To properly display this page you need a browser with JavaScript support.
EXOR Example
10 ! This program prints the truth table for an EXOR function.
20 DATA 0,0,0,1,1,0,1,1
30 RESTORE
40 CLEAR SCREEN
50 PRINT "EXOR test"
60 PRINT " J"," K","J EXOR K"
70 FOR L=1 TO 4
80 READ J,K
90 PRINT J,K,J EXOR K
100 NEXT L
110 END