Microsoft KB Archive/45910

From BetaArchive Wiki
Knowledge Base

Correction for StuffHex, ToolBox Trap Example on Page 523

Article ID: 45910

Article Last Modified on 11/21/2006

This article was previously published under Q45910


On Page 523 of the "Microsoft QuickBASIC for Apple Macintosh: Language Reference," the example for the StuffHex ToolBox ROM call is incorrect. Several statements are incomplete or missing.

The following is the corrected example:

   Toolbox "i"
   DIM HexPat%(3)
   TrapNo% = &HA866
   MyPat$ = "AA55AA55AA55AA55"
   PasPat$ = ""
   B2PStr MyPat$, PasPat$
   ToolBox "P", TrapNo%, VARPTR(HexPat%(0)), PasPat$ + ""

Additional query words: MQuickB

Keywords: KB45910