Microsoft KB Archive/58659: Difference between revisions

From BetaArchive Wiki
(importing KB archive)
 
m (Text replacement - "&" to "&")
 
Line 36: Line 36:
<br />
<br />
The incorrect example on Page 519 is as follows:
The incorrect example on Page 519 is as follows:
<pre class="codesample">  Trapno% = &amp;HA8EF
<pre class="codesample">  Trapno% = &HA8EF
   ToolBox &quot;P&quot;, Trapno%, r%(0), (horiz%), (vert%), H&amp;
   ToolBox &quot;P&quot;, Trapno%, r%(0), (horiz%), (vert%), H&
                 </pre>
                 </pre>
The correct syntax for this ToolBox call is as follows:
The correct syntax for this ToolBox call is as follows:
<pre class="codesample">  Trapno% = &amp;HA8EF
<pre class="codesample">  Trapno% = &HA8EF
   ToolBox &quot;P&quot;, Trapno%, VARPTR(r%(0)), (horiz%), (vert%), (H&amp;)
   ToolBox &quot;P&quot;, Trapno%, VARPTR(r%(0)), (horiz%), (vert%), (H&)
                 </pre>
                 </pre>
This information applies to Microsoft QuickBASIC 1.00 for the Apple Macintosh.
This information applies to Microsoft QuickBASIC 1.00 for the Apple Macintosh.

Latest revision as of 14:14, 21 July 2020

Knowledge Base


Correction for ToolBox Statement Example Calling ScrollRect

Article ID: 58659

Article Last Modified on 11/21/2006

This article was previously published under Q58659

SUMMARY

On Page 519 of the "Microsoft QuickBASIC for Apple Macintosh: Language Reference" manual, the example for the ScrollRect ToolBox call is incorrect.

The incorrect example on Page 519 is as follows:

   Trapno% = &HA8EF
   ToolBox "P", Trapno%, r%(0), (horiz%), (vert%), H&
                

The correct syntax for this ToolBox call is as follows:

   Trapno% = &HA8EF
   ToolBox "P", Trapno%, VARPTR(r%(0)), (horiz%), (vert%), (H&)
                

This information applies to Microsoft QuickBASIC 1.00 for the Apple Macintosh.


Additional query words: MQuickB

Keywords: KB58659