GetFontName ToolBox Example Correction on Page 514 "Reference" (58822)
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$
Modification Type: |
Minor |
Last Reviewed: |
1/9/2003 |
Keywords: |
KB58822 |
|