History  | 
Gosub...Return (BASIC command) 
Purpose 
Jumps to a procedure's labeled subroutine, then returns to the line following Gosub. 
We do not recommend use of this command; it is only included for backward compatibility. Instead, use subroutines to handle frequently processed routines. 
Syntax 
Gosub Label 
... 
Return  
 Example 
Dim I As Integer 
        For I = 1 to 10 
                Gosub MySubroutine 
                Goto MyEnd 
 | ||||