Microsoft KB Archive/60426

= Correction to ForeColor ToolBox Example =

Article ID: 60426

Article Last Modified on 1/9/2003

-

APPLIES TO


 * Microsoft QuickBasic Compiler for Macintosh 1.0

-



This article was previously published under Q60426



SUMMARY
The ForeColor Toolbox example on Page 512 of the &quot;Microsoft QuickBASIC for Apple Macintosh: Language Reference&quot; for Microsoft QuickBASIC Version 1.00 for the Apple Macintosh uses the wrong type for the color parameter. The example uses a normal (2-byte) integer instead of a long (4-byte) integer (denoted by the &quot;&&quot; suffix). The argument description correctly lists the parameter as a long integer (&quot;COL&&quot;).

The incorrect example on Page 512 is as follows: TrapNo% = &HA862 col% = 341 ToolBox &quot;P&quot;, TrapNo%, (col%) This should be changed to use long integers as follows: TrapNo% = &HA862 col&amp; = 341 ToolBox &quot;P&quot;, TrapNo%, (col&amp;)

Additional query words: MQuickB

Keywords: KB60426

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.