isDbgFlag()
Queries if a flag with the defined name or number has been set.
Synopsis
bool isDbgFlag(string name | int flag);
Parameter
| Parameter | Description | 
|---|---|
| name | Name of the debug flag | 
| flag | Number of the debug flag | 
Return value
The function returns TRUE (1) when the debug flag has been set or FALSE (0) when not.
Error
Invalid/missing argument.
Description
Queries if a flag with a defined name or number has been set or not.
 Example
Example
The following example queries if a flag with the number 38 has been set or not.
main()
{
  int dbgFlagNum = 38;
  DebugN("isDbgFlag", (string) isDbgFlag(dbgFlagNum)); /* Queries
  if the 
  flag was set and casts the return value bool */
}Assignment
Administration of managers...
Availability
CTRL
