![]() | ![]() | ![]() | ![]() | ![]() |
IsDebugOn() |
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 to simply determine whether debug is on or off or to determine the level of user debug currently active (see DebugLevel).
This function would be useful if you wished to conditionally call Debug() or conditionally generate html comments in your output etc.
The function takes either zero or one parameters as follows:
That is you can check on each bit seperately if you wish. If you simply wish to tell if any user debug state is on then pass 3, if you wish to check the state of one of your flags then pass it's value, a return code of 0 indicates that that level of debug is not on.
![]() | ![]() | ![]() | ![]() | ![]() |