Previous Topic Next topic Print topic


&APS-INDENT

Holds the indentation level of the current rule. It returns the column position of the $ of the invoking rule; otherwise, it returns the column position of the left margin (usually column 7 when LANG=COBOL).
Restriction: This topic applies only when the AppMaster Builder AddPack has been installed, and applies only to Windows platforms.

Syntax:

&APS-INDENT

Aliases:

&aps-indent     &Aps-Indent
&apsindent      &ApsIndent
&APSINDENT

Example:

Enforce the position of certain rules.

% DEFINE $TP-ENTRY
    % IF &APS-INDENT < 8 OR &APS-INDENT > 11
        % SET ERROR $TP-ENTRY MUST BE INVOKED IN 
AREA A
Previous Topic Next topic Print topic