Microsoft KB Archive/51748

From BetaArchive Wiki

QC 1.01 Programmer’s Guide Example Missing Underscore on GXOR PSS ID Number: Q51748 Article last modified on 03-14-1990 PSS database name: S_QuickC




On Page 109 of the “Microsoft QuickC Compiler Programmer’s Guide” supplied with QuickC Version 1.01 there is an error in the sample program. The _GXOR constant is incorrectly listed without the leading underscore. There are two identical lines in the example that need to be corrected by replacing GXOR with _GXOR.

The existing lines read as follows:

_putimage (x,y,buffer,GXOR)

The corrected lines should read as follows:

_putimage (x,y,buffer,_GXOR)

Copyright Microsoft Corporation 1990.