prn a, 0, 13, 1, CHR$(tehe(a))\r
NEXT a\r
\r
-prn 0, 1, 7, 0, "Do you want to simplyfy it (unfinished so press N)"\r
+prn 0, 1, 7, 0, "Do you want to simplify it (unfinished so press N)"\r
a = 0\r
23\r
klea\r
x2 = x3\r
l2 = 0\r
\r
-'FOR a = x1 TO x2\r
a = x1\r
26\r
IF tehe(a) = 40 THEN\r
a = a - 1\r
END IF\r
END IF\r
-'NEXT a\r
a = a + 1\r
IF a <= x2 THEN GOTO 26\r
l = l2\r
SUB sist\r
' Interacts with the user to input a logical equation\r
CLS\r
-prn 0, 0, 3, 0, "enter equation (ESC to quit) keys: 1 - " + CHR$(1) + " 2 - " + CHR$(2) + " 3 - " + CHR$(3) + " 4 - " + CHR$(4) + " 5 - " + CHR$(5)\r
-prn 0, 1, 3, 0, "example: a" + CHR$(1) + "b" + CHR$(2) + "(g" + CHR$(3) + "b)"\r
+prn 0, 0, 3, 0, "Enter equation (ESC to quit) keys: 1 - " + CHR$(1) + " 2 - " + CHR$(2) + " 3 - " + CHR$(3) + " 4 - " + CHR$(4) + " 5 - " + CHR$(5)\r
+prn 0, 1, 3, 0, "Example: a" + CHR$(1) + "b" + CHR$(2) + "(g" + CHR$(3) + "b)"\r
\r
FOR a = 0 TO 79\r
tehe(a) = 0\r
GOTO 1\r
4\r
\r
-\r
END SUB\r
\r
SUB start\r
\r
SCREEN 12\r
\r
-\r
END SUB\r
\r
SUB tee (x1, x2)\r
oe = 0\r
oex = 0\r
\r
-\r
FOR a = x1 TO x2\r
b = tehe(a)\r
SELECT CASE b\r
h = 0\r
FOR e = 1 TO 4\r
g = 1\r
- 'FOR a = x1 TO x2\r
a = x1\r
21\r
b = tehe(a)\r
GOTO 16\r
END IF\r
\r
-\r
SELECT CASE b\r
CASE 5\r
g = 1\r
IF a <= x2 THEN GOTO 21\r
NEXT e\r
l = h\r
-END SUB
\ No newline at end of file
+END SUB\r