Microsoft KB Archive/32399

= Error in Turbo Pascal Example =

Article ID: 32399

Article Last Modified on 7/30/2001



This article was previously published under Q32399



SUMMARY
There is an error on Page C-2 of the &quot;Microsoft Mouse Programmer's Reference Guide,&quot; Appendix C, &quot;Making Calls from Borland Turbo Pascal Programs.&quot;



MORE INFORMATION
The code on Page C-2 reads as follows: if (m1 = 20) then           {Special returns   } m2 := CpuReg.ES;

m1 := CpuReg.AX;            {Return values back} m2 := CpuReg.BX;            { to parameters    } m3 := CpuReg.CX; m4 := CpuReg.DX;

end; end; {mouse} The code should read as follows: m1 := CpuReg.AX;            {Return values back} m2 := CpuReg.BX;            { to parameters    } m3 := CpuReg.CX; m4 := CpuReg.DX;

if (m1 = 20) then           {Special returns   } m2 := CpuReg.ES;

end; end; {mouse}

Keywords: KB32399

-

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

© Microsoft Corporation. All rights reserved.