The statement of the subprogram end <SUBEND>

The statement is used for the declaration of the end of the subprogram.






The statement is declaring the end of subprogram. At the <SUBEND> execution the subprogram execution is closed, the values of all variables defined in the parameters list is assigned to the variables defined in the <CALL> statement and the execution of the parent subprogram is continued.




See also:

Statement to call a subprogram <CALL>

The statement of the subprogram start <SUB>