![]() | ![]() | ![]() | ![]() | ![]() |
Defined() |
This is a rexx function provided by PPWIZARD. This routine (like all PPWIZARD extensions) can be used with any operating system supported by PPWIZARD.
This function can be called (probably in a #if command) to determine if a variable has been defined with either #define or #evaluate. The return code is either 'N' or 'Y'.
You would use this routine in a #if command rather than a #ifdef or #ifndef if you want to do something which involves testing the existance of more than one variable.
The parameters are as follows:
EXAMPLE |
#ifdef Var1 ... #endif #if Defined('Var1') = 'Y' | Defined('Var2') = 'Y' ... #endif
![]() | ![]() | ![]() | ![]() | ![]() |