forlang.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
GOTO (Unconditional GOTO)
                                             Up Contents Index Back
─────GOTO (Unconditional GOTO) ─────────────────────────────────────────────
 
     Action
 
     Transfers control to a labeled statement
 
     Syntax
 
     GOTO label
 
     Parameter          Description
 
     label              The label of an executable statement in the same
                        program unit
 
     Remarks
 
     If the label does not exist in the same program unit, a compile-
     time error occurs.
 
     GOTO statements may not transfer control into a DO, IF, ELSEIF, or
     ELSE block from outside the block. The $DO66 metacommand can
     override this restriction for DO loops.
 
     See Also: $DO66
 
     Example
 
           GOTO 4077
           .
           .
           .
      4077 CONTINUE
                                    -♦-