Assigning values to numeric variables not executing
From: David Alge (david_at_thealges.org)
Date: 03/30/04
- Next message: Floortje: "Text files half empty ?"
- Previous message: Yocal: "Re: The ALT-TAB issue...!"
- Next in thread: Rob Kennedy: "Re: Assigning values to numeric variables not executing"
- Reply: Rob Kennedy: "Re: Assigning values to numeric variables not executing"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 29 Mar 2004 15:04:24 -0800
Hello,
I have a strange problem. While debugging another problem in an app
I'm writing, I noticed that the debugger was not executing statements
where I am assigning a value to numeric variables, e.g., double,
extended, integer, etc. These variables are local variables and the
funny thing, there is no problem when I assign properties off a form.
I have tested this my creating a basic app and doing the following:
1. Add a TButton to a form
2. In the click event of the TButton, I have the following code:
var extTest, extTest2: Extended;
dblTest: Double;
x: Integer;
s: String;
begin
dblTest := 234.34;
x := 23;
s := 'Testing';
end;
When I execute the debugger, the only line the debugger executes is
the "s := 'Testing' " line. Anything that assigns a numeric variable
is ignored. I've noticed in the column in the IDE to the left of the
source, there is a 'X' next to the break I've inserted on one of these
lines. On the lines that execute, I get a checkmark. Does anyone have
an idea what is going on?
Thanks in Advance!!!!!
David Alge
- Next message: Floortje: "Text files half empty ?"
- Previous message: Yocal: "Re: The ALT-TAB issue...!"
- Next in thread: Rob Kennedy: "Re: Assigning values to numeric variables not executing"
- Reply: Rob Kennedy: "Re: Assigning values to numeric variables not executing"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]