testFalse = 0 ' F testDoNotKnow = 1 ' ? testTrue = 2 ' T print "Short and long names for ternary logic values" for i = testFalse to testTrue print shortName3$(i);" ";longName3$(i) next i print print "Single parameter functions" print "x";" ";"=x";" ";"not(x)" for i = testFalse to testTrue print shortName3$(i);" ";shortName3$(i);" ";shortName3$(not3(i)) next print print "Double parameter fuctions" html "
| x | y | x AND y | x OR y | x EQ y | x XOR y |
| " html shortName3$(a); " | ";shortName3$(b); " | " html shortName3$(and3(a,b));" | ";shortName3$(or3(a,b)); " | " html shortName3$(eq3(a,b)); " | ";shortName3$(xor3(a,b));" |