You can mimic 'gosub' too:
Code:
pln "i'm going to jump somewhere and return!"
' mimic a gosub to label A_LABEL.
asm
move @0 A_LABEL:
call @0
endasm
pln "and i'm back!"
system "pause"
' terminate program.
end
' a sub-routine.
asm
A_LABEL:
endasm
pln "i'm in a sub-routine now!"
' return to whereever we were called from.
asm
ret
endasm