| GrayMode | Function (Macro)

gray.h

#define GrayMode(x) ((x) ? GrayOn () : ({
| GrayOff ();
| (short) 1;
}))

This function has become obsolete.

This function has become obsolete. You should use GrayOn and GrayOff now. GrayMode is implemented as a macro which calls one of these two functions; if mode is a constant, the compiler will optimize the code into a single function call.

Uses: GrayOn, GrayOff