|GSAK (Geocaching Swiss Army Knife)|
The GoSub command allows you to re use code by means of subroutines. The name token must be a valid subroutine name as created with the BeginSub and EndSub commands. The Code inside the BeginSub and EndSub block is executed, and when finished the next line in the macro after the GOSUB is run. To immediately exit the subroutine block use the ExitSub command. Note: global scoping of subroutines is not supported (for example, trying to use subroutines from another macro file opened with the MACRO command). Subroutines are only available in the macro file they are defined.
Related: BeginSub ExitSub EndSub
Alpha List Category List
Copyright 2004-2014 CWE Computer Services |