&OPSYS-TYPE
&opsys-type &Opsys-Type &opsystype &OpsysType &OPSYSTYPE
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
Comment:
This function returns "NT" for Windows NT.