GOSUB

Top  Previous  Next

Syntax

GOSUB name

GOSUB name(parameters)

Description

Calls a subroutine.  Included for backwards compatibility with other languages.

Parameters

name - Name of subroutine to call

parameters - Comma separated list of parameters

Return value

None

Remarks

It is not necessary to use GOSUB as you can call any subroutine directly by its name.

See Also: SUB

Example usage

GOSUB mysub(10,22)