To properly display this page you need a browser with JavaScript support.
HTBasic Help
×
Menu
Index
Search
Search
HTBasic Example Programs
AND EXAMPLE
Previous page
Next page
Print version
(c) TransEra Corp, 2021
To properly display this page you need a browser with JavaScript support.
AND Example
DATA 0,0,0,1,1,0,1,1
RESTORE
CLEAR SCREEN
PRINT "AND test"
PRINT " J"," K","J AND K"
FOR L=1 TO 4
READ J,K !Reads in the DATA values into J and K.
PRINT J,K,J AND K !Performs the AND operation, then prints it out.
NEXT L
END