IsDefined |
Syntax:
%IsDefined(str)%
Description:
Tests a str expression to determine whether it is the name of a product or platform constant at run time. IsDefined returns TRUE (-1) if str is the name of a product or platform constant at run time. Otherwise IsDefined returns FALSE (0).
Parameters:
Parameter |
Description |
Name of variable to test for. |
Notes:
The constants can define platforms at different levels and are not mutually exclusive. For example, on WinNT, the platform returned can be WIN32_X86, WINNT, WIN32, or WINDOWS. Product constants are defined by, and are specific to, the host product (for example Notes, 1-2-3, ESB, and so on). Refer to the product's documentation for a list of product-defined constants.