Ryan 6123423f78 I think math is stable now
I need to rewrite how math is done to allow for the introduction of constructs
2017-08-22 22:34:16 -04:00

34 lines
522 B
Plaintext

ENABLE leaking
[TEST]{
"Jump was successful!"
--GOTO("HERE")
}
[START]{
"Test 1:"
t=15
test=2*100
"test = $test$"
c=5
::HERE::
a,b="sdf",true
"a,b,c = $a$ $b$ $c$"
food="yum"
test=true
stop=21
"food = $food$"
"test = $test$"
"stop = $stop$"
"Test 2:"
count=0
::loop::
if count>10 then GOTO("end")|GOTO("continue")
::continue::
"Count = $count$"
count=ADD(count,1)
if count>10 then GOTO("end")|GOTO("loop")
::end::
"Done!"
QUIT()
}
-- (count==stop and name=="bob") ? GOTO(end) : GOTO(loop)