Data update

This commit is contained in:
Ingy döt Net 2026-04-30 12:34:36 -04:00
parent 4bb20c9b71
commit cbaf4c4b64
12390 changed files with 318560 additions and 27248 deletions

View file

@ -0,0 +1,26 @@
load "stdlib.ring"
table1 = "A or B"
table2 = "A and B"
vars = ["A", "B"]
see table1 + nl
see "A | B | Output" + nl
see "----------" + nl
result("A","B",table1)
see nl+table2 + nl
see "A | B | Output" + nl
see "----------" + nl
result("A","B",table2)
func result(A,B,table)
for a_res = 0 to 1
for b_res = 0 to 1
A = a_res
B = b_res
output = eval("return " + table)
see "" + A + " | " + B + " | " + output + nl
next
next