User Tools

Site Tools


do_call_a_routine_.htm
Navigation:  Language Reference > 12 - Execution Control > Execution Control Statements >====== DO (call a ROUTINE) ====== Previous pageReturn to chapter overviewNext page

 

DO label

blk2blue.jpg

DO Executes a ROUTINE.
label The label of a ROUTINE statement.

The DO statement is used to execute a ROUTINE local to a PROGRAM or PROCEDURE. When a ROUTINE completes execution, program control reverts to the statement following the DO statement. A ROUTINE may only be called within the CODE section containing the ROUTINE's source code.

Example:

DO NextRecord    !Call the next record routine

DO CalcNetPay    !Call the calc net pay routine

See Also:

EXIT

ROUTINE

do_call_a_routine_.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1