User Tools

Site Tools

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


DO label


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.


DO NextRecord    !Call the next record routine

DO CalcNetPay    !Call the calc net pay routine

See Also:



do_call_a_routine_.htm.txt · Last modified: 2021/04/15 15:57 (external edit)