Microsoft KB Archive/45910: Difference between revisions

From BetaArchive Wiki
(importing KB archive)
 
m (Text replacement - "&" to "&")
 
Line 38: Line 38:
<pre class="codesample">  Toolbox &quot;i&quot;
<pre class="codesample">  Toolbox &quot;i&quot;
   DIM HexPat%(3)
   DIM HexPat%(3)
   TrapNo% = &amp;HA866
   TrapNo% = &HA866
   MyPat$ = &quot;AA55AA55AA55AA55&quot;
   MyPat$ = &quot;AA55AA55AA55AA55&quot;
   PasPat$ = &quot;&quot;
   PasPat$ = &quot;&quot;

Latest revision as of 14:14, 21 July 2020

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