ID: Q32399
There is an error on Page C-2 of the "Microsoft Mouse Programmer's Reference Guide," Appendix C, "Making Calls from Borland Turbo Pascal Programs."
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}
KBCategory: kbhw kbdocerr KBSubcategory: ditional reference words:
Last Reviewed: September 16, 1996