forked from ground/ground
20 lines
370 B
Plaintext
20 lines
370 B
Plaintext
fun -bool !jumpy
|
|
stdlnout "This is the jumpy function"
|
|
set &counter 0
|
|
jump %inloop
|
|
@jumpback
|
|
stdlnout "Yay I jumped!"
|
|
@inloop
|
|
add 1 $counter &counter
|
|
inequal 10 $counter &out
|
|
stdout "Condition is"
|
|
stdlnout $out
|
|
if $out %jumpback
|
|
stdlnout "Finished"
|
|
return true
|
|
endfun
|
|
|
|
call !jumpy &tmp
|
|
|
|
stdlnout "I called a function"
|