Table of Contents

ugBASIC User Manual

GOSUB ✓

SYNTAX

   GOSUB label
   GOSUB number

PURPOSE

Do an unconditional jump to an alphanumeric label, previously or subsequently defined, with the syntax of the labels. When a RETURN is encountered, the execution will continue to the instruction next to this one.

EXAMPLE

  GOSUB leggiTasti
  GOSUB 42

See also the following example files:

ABBREVIATION

 Gs

AVAILABLE ON

SEE ALSO

RETURN POP

ANY PROBLEM?

If you have encountered a problem using this command, if you think there is a bug or the explanation is unclear, please open an issue for this keyword on GitHub. Thank you!

POWERED BY