Correction for StuffHex, ToolBox Trap Example on Page 523 (45910)






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
				

Modification Type: Minor Last Reviewed: 1/9/2003
Keywords: KB45910