User Tools

Site Tools


code_begin_executable_statements_.htm
Navigation:  Language Reference > 2 - Program Source Code Format > Program Format >====== CODE (begin executable statements) ====== Previous pageReturn to chapter overviewNext page

             CODE

The CODE statement separates the data declaration section from the executable statement section within a PROGRAM, PROCEDURE, or ROUTINE. The first statement executed in a PROGRAM, PROCEDURE, or ROUTINE is the statement following CODE. The word “Code” is a reserved word, and may not be used as a label of a variable or procedure.

Example:

PROGRAM

!Global Data declarations go here

CODE

!Executable statements go here

OrdList PROCEDURE  !Declare a procedure

!Local Data declarations go here

CODE              !This is the beginning of the “code” section

!Executable statements go here

See Also:

PROGRAM

PROCEDURE

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