Microsoft KB Archive/38070

= Macintosh QuickBASIC Change: Register-Based Toolbox ROM Call =

Article ID: 38070

Article Last Modified on 11/21/2006



This article was previously published under Q38070



SUMMARY
The Toolbox statement on Page 501 of the &quot;QuickBASIC for Macintosh: Language Reference&quot; manual should be corrected to read as follows:

ToolBox &quot;R&quot;,Trapnum%,ReturnArray&(0),(a0&),(a1&),(d0&),(d1&),(d2&)

Also, the two occurrences of &quot;ReturnArray(0)%&quot; on Page 501 should be replaced with &quot;ReturnArray&(0)&quot;.

The Toolbox statement on Page 499 is missing trapnum%, and the registers should be passed by value. Page 499 should be changed to read as follows:

ToolBox &quot;R&quot;,Trapnum%,ReturnArray&(0),(a0&),(a1&),(d0&),(d1&),(d2&)



MORE INFORMATION
Page 501 of the &quot;QuickBASIC for Macintosh: Language Reference&quot; manual correctly specifies that the parameters of a register-based ROM call must be a long integer, but the example provided incorrectly shows these values typecast with % (short integer). The values passed to a register-based ROM call should be a long integer (&), except for trapNum%.

Additional query words: MQuickB

Keywords: KB38070

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.