You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
270 B

a = 0
b = 0
c = 0
GOSUB sub
b = 1
c = 1
GOTO trap
END
sub:
a = 1
RETURN
a = 2
trap:
IF a == 1 AND b == 1 AND c == 1 THEN
PRINT "success"
ELSE
PRINT "fail: ", a, ", ", b, ", ", c
END IF
PRINT_FLUSH(message1)
GOTO trap