Microsoft KB Archive/58822: Difference between revisions
From BetaArchive Wiki
(importing KB archive) |
m (Text replacement - "&" to "&") |
||
Line 36: | Line 36: | ||
<br /> | <br /> | ||
The incorrect example from Page 514 is as follows: | The incorrect example from Page 514 is as follows: | ||
<pre class="codesample"> TrapNo%=& | <pre class="codesample"> TrapNo%=&HA8FF | ||
a$ = "" | a$ = "" | ||
fNum% = 4 | fNum% = 4 | ||
Line 42: | Line 42: | ||
</pre> | </pre> | ||
It should be changed to read as follows: | It should be changed to read as follows: | ||
<pre class="codesample"> TrapNo%=& | <pre class="codesample"> TrapNo%=&HA8FF | ||
FontName$ = "" ' This is changed. | FontName$ = "" ' This is changed. | ||
FontNum% = 4 ' This is changed. | FontNum% = 4 ' This is changed. |
Latest revision as of 14:14, 21 July 2020
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 "Microsoft QuickBASIC for Apple Macintosh: Language Reference" 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$ = "" fNum% = 4 Toolbox "P", TrapNo%, (FontNum%), FontName$
It should be changed to read as follows:
TrapNo%=&HA8FF FontName$ = "" ' This is changed. FontNum% = 4 ' This is changed. Toolbox "P", TrapNo%, (FontNum%), FontName$
Additional query words: MQuickB
Keywords: KB58822