I have had the same thing happen before, it turned out to be a scope issue.
The compiler had the corect scope, the watch window had the immediate scope
(had a property name inside a with clause that happened to match either a
local variable or another class property - can't remember which).

Phil.

----- Original Message -----
From: "Sergei Stenkov" <[EMAIL PROTECTED]>
To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]>
Sent: Monday, March 12, 2001 10:32 AM
Subject: RE: [DUG]: Weird stuff


> Thank you for the tip Corey.
> Yes, I had optimization turned on and will try the same with it being off
> now.
> Although in my case things were a little different.
> I had correct result in a watch and an incorrect final result.


---------------------------------------------------------------------------
    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"

Reply via email to