OWLNext 7.0
Borland's Object Windows Library for the modern age
|
The following PROG.C example defines two diagnostic groups, Group1 and Group2, which are used as arguments to extended diagnostic macros:
When the above code is compiled with _ _TRACE defined and run, it produces the following output:
Note that the last two macros are not executed. In the first case, the group Group1 is disabled. In the second case, the macro level exceeds Group2's threshold level (set by default to 0).