&OPSYS-TYPE

Contains the name of the executing operating system, e.g., "NT". Use this function to include a different rule file depending on where the MFG is generating.
Restriction: This topic applies only when the AppMaster Builder AddPack has been installed, and applies only to Windows platforms.

Syntax:

&OPSYS-TYPE

Aliases:

&opsys-type     &Opsys-Type
&opsystype      &OpsysType
&OPSYSTYPE

Comment:

This function returns "NT" for Windows NT.

Examples:

For code that depends on the platform on which the generator runs, you could code the following.

% IF &OPSYS-TYPE = "NT"
    %* Logic for generating under Windows NT
% ELSE-IF &OPSYS-TYPE = "WIN32S"
    %* Logic for generating under Win32s
% END