Exit procedure

Navigation:  Les scripts > Les autres scripts > Statements >

Exit procedure

Previous pageReturn to chapter overviewNext page

Exits from the current procedure.

 

procedure Exit;

 

The Exit procedure immediately passes control away from the current procedure. If the current procedure is the main program, Exit causes the program to terminate.

 

Exit will cause the calling procedure to continue with the statement after the point at which the procedure was called.

 

Note:        Exit is not constrained by blocks but by procedures