uCon HomePage

Script Command: GOSUB

GOSUB   {tag}

Call some tagged subroutine within the script. It is assumed that at some point the subroutine will be terminated by a RETURN statement. A tag is simply the first white-space delimited text on any given line of a comment. A comment is any line that starts with a '#'.

Refer to EXAMPLE_2 on the main scripting page for a working example of the GOSUB command.