Vadim Zaytsev
aka @
grammarware
BabyCobol
:
GO TO
a statement to branch unconditionally to a paragraph within a program
Format
GO TO
ProcedureName
Remarks
branching outside an active
LOOP
terminates its iteration
branching outside paragraphs being
PERFORM
ed terminates the performance and forfeits the call place, acting as a redirected return
the argument can be a field name, possibly being reassigned at runtime with
MOVE
See a
separate example
showcasing the interplay between
PERFORM
and
GO TO
.
Origins
CLIST
GOTO
COBOL
GO TO
FORTRAN
GO TO
PL/I
GO TO
REXX
SIGNAL
RPG
GOTO
BabyCobol is a project by
Dr. Vadim Zaytsev
a.k.a. @
grammarware
. Page last updated in October 2023.