Previous Topic: #SOURCE

Next Topic: Code Batch Maintenance Commands

#REFORMAT

Syntax

If the #REFORMAT directive is encountered by the compiler, it reformats your source IMOD. This directive can appear multiple times in an IMOD. The scope of #REFORMAT is from the point where inserted until the end of file or next #REFORMAT directive.

The operands are:

margin

Specifies the left-most column for REXX code and comments. All lines will be adjusted to start in this column or to the right of it. Lines that contain a non-blank in column 1 will not be adjusted. The values for margin are 2 through 50.

indent

Specifies an indent amount that is added to the margin value for each level of nesting (DO loops) to determine the starting column for the line. Lines that contain a non-blank in column 1 will not be adjusted. The values for indent are 1 through 10.

When using #REFORMAT,