HTBasic Help
×
Menu
Index

or Example

10  ! This program prints the truth table for an OR funtion.
20    DATA 0,0,0,1,1,0,1,1
30    RESTORE
40    CLEAR SCREEN
50    PRINT TAB(10),"OR test"
60    PRINT " J"," K","J OR K"
70    FOR L=1 TO 4
80      READ J,K
90      PRINT J,K,J OR K
100   NEXT L
110   END