Oxygen

gosub
ACTION: call a labelled subroutine
USE: invoke local subroutines inside a procedure
 '% filename "t.exe"
'uses rtl64


function f()
  int a=42
  int b

  'gosub g
  gosub g when a>0
  print b
  return
  '
  g:
  b=a/2
  ret
  '
end function

f



  
RELATED: procedures call goto