FUNCTIONEND
9.0C
The FUNCTIONEND instruction defines the ending point of a FUNCTION or LFUNCTION definition. The instruction uses the following format:
|
|
|
|
|
Where:
label
Optional. A Program Execution Label.
return
Optional. A DIM, FORM, INTEGER, CONST, Numeric Expression, or GUI Object data that is returned.
Flags Affected: NONE
Note the following:
The FUNCTIONEND must be specified to terminate a LFUNCTION or FUNCTION instruction.
The FUNCTIONEND instruction is not allowed without a preceeding LFUNCTION or FUNCTION instruction.
The optional {return} value is placed in the CALL GIVING variable
Only one {return} value is allowed in the FUNCTIONEND instruction.
See Also: FUNCTION, ENTRY, CALL, FUNCTIONs, Program Control Instructions
![]() |