Previous Topic: Special Purpose IMODsNext Topic: Code Batch Maintenance Commands


Compiler Directive Statements

#DESC

Syntax

#DESC text

The contents of the text operand of the first #DESC statement appears in the description field of the IMOD selection panel under the IMOD editor. The text of all #DESC statements appears in batch mode IMOD listings.

#CALLABLE

Syntax

#CALLABLE

Include this directive to call this IMOD from another IMOD as an external subroutine.

#SOURCE

Syntax

#SOURCE

Including the #SOURCE directive causes ISERVE to load the source statements into memory with the object code. This lets you use the REXX TRACE instruction and SOURCELINE() function; both useful for debugging. It also increases your use of storage.

#REFORMAT

Syntax

If the compiler encounters the #REFORMAT directive, 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 are adjusted to start in this column or to the right of it. Lines that contain a non-blank in column 1 are not 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 are not adjusted. The values for indent are 1 through 10.

When using #REFORMAT,