Microsoft KB Archive/58822

= GetFontName ToolBox Example Correction on Page 514 &quot;Reference&quot; =

Article ID: 58822

Article Last Modified on 11/21/2006



This article was previously published under Q58822



SUMMARY
The GetFontName Example on Page 514 of the &quot;Microsoft QuickBASIC for Apple Macintosh: Language Reference&quot; is incorrect. The variables that are initialized do not match the variables in the ToolBox statement. This information applies to Microsoft QuickBASIC Version 1.00 for the Apple Macintosh.

The incorrect example from Page 514 is as follows: TrapNo%=&HA8FF a$ = &quot;&quot; fNum% = 4 Toolbox &quot;P&quot;, TrapNo%, (FontNum%), FontName$ It should be changed to read as follows: TrapNo%=&HA8FF FontName$ = &quot;&quot; ' This is changed. FontNum% = 4   ' This is changed. Toolbox &quot;P&quot;, TrapNo%, (FontNum%), FontName$

Additional query words: MQuickB

Keywords: KB58822

-

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

© Microsoft Corporation. All rights reserved.