Previous Topic Next topic Print topic


&APS-BLANK-STATUS

Determine whether the generator ignores blank lines or passes them through to the output.
Restriction: This topic applies only when the AppMaster Builder AddPack has been installed, and applies only to Windows platforms.

Syntax:

&APS-BLANK-STATUS

Alias:

&aps-blank-status     &Aps-Blank-Status
&APSBLANKSTATUS       &apsblankstatus
&ApsBlankStatus

Comments:

  • To have a rule to convert the handling of blank lines back to the way it was when the rule was invoked, capture the blank/noblank status when entering the rule. See the example below.
  • To print or suppress blank lines, use % SET BLANK or %SET NOBLANK.

Example:

When entering the rule, capture the value:

% &SAVE-BLANK-STATUS = &APS-BLANK-STATUS

When leaving the rule,

% IF &SAVE-BLANK-STATUS = "BLANK"
    % SET BLANK
% ELSE-IF &SAVE-BLANK-STATUS = "NOBLANK"
    % SET NOBLANK

Sample generated values:

&APS-BLANK-STATUS = "BLANK" (following a % SET BLANK)

&APS-BLANK-STATUS = "NOBLANK" (following a % SET NOBLANK)

Previous Topic Next topic Print topic