To properly display this page you need a browser with JavaScript support.
HTBasic Help
×
Menu
Index
Search
Search
HTBasic Example Programs
or EXAMPLE
Previous page
Next page
Print version
(c) TransEra Corp, 2021
To properly display this page you need a browser with JavaScript support.
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