2025-08-24 16:30:42 +10:00
|
|
|
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
|
2025-08-13 09:40:03 +10:00
|
|
|
endfun
|
|
|
|
|
2025-08-24 16:30:42 +10:00
|
|
|
call !jumpy &tmp
|
2025-08-18 09:36:35 +10:00
|
|
|
|
2025-08-24 16:30:42 +10:00
|
|
|
stdlnout "I called a function"
|