LOTUSSCRIPT LANGUAGE
Transfers control in a procedure to a labeled statement, with an optional return of control.
Syntax
GoSub label
Elements
label
You can't use the GoSub statement at the module level; you can only use it in a procedure. The GoSub statement, its label, and the Return statement must all reside in the same procedure.
When LotusScript encounters a GoSub statement, execution branches to the specified labeled statement and continues until either of two things happen: