Microsoft KB Archive/45910

From BetaArchive Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
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

SUMMARY

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$ + ""
   END
                


Additional query words: MQuickB

Keywords: KB45910