The statement
forward IDENTIFIER;
is used to defer the definition of a function or procedure value for IDENTIFIER. After the forward declaration, another function or procedure may be called which uses IDENTIFIER, although IDENTIFIER has not yet been defined.
It may be used in cases where two functions or procedures call one another in mutual recursion.
The forward-statement must occur on the main level, that is, outside other functions and procedures.
[Next] [Prev] [Right] [Left] [Up] [Index] [Root]