Hello,
Is every one absolutely positive that 0 + 1 + 3 = 4 ?
So was I until I've looked at a few variables in debugger today.
According to it, the addition above results in 5 !!!
After I do :
iCount := iVar1 + 1 + iVar2
where iVar1 = 0 and iVar2 = 3
I get iCount = 5
When I look at the same line in watches it produces the correct answer.
Does anyone know what's going on here?
Thank you,
Sergei Stenkov
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"