Bug 3913 is still not fixed
Original Reporter info from Mantis: FPCCore
-
Reporter name: FPC core team
Original Reporter info from Mantis: FPCCore
- Reporter name: FPC core team
Description:
I was emailed that that bug 3913 was fixed, but using FPC 2.0.1 cvs version dated June19/2005 the problem is still there.
Additionaly I should add that using the Function like this:
function TForm1.TryStrToDate(const inputvalue: string; out outputdate: TDateTime): boolean;
begin
result := false;
try
begin
outputdate := StrToDate(inputvalue);
result := true:
end;
except on EconvertError do
begin
result := false;
end;
end;
end;
Causes a variable in my program to be changed.
Changing it to:
function TForm1.TryStrToDate(const inputvalue: string; out outputdate: TDateTime): boolean;
begin
result := false;
try
begin
outputdate := StrToDate(inputvalue);
result := true:
end;
except
begin
result := false;
end;
end;
end;
Seems to work better but I still find that variable changes to '0' for no reason further down the program. Nasty.
Additional information:
Reporter: George Lober
EMail: v73624 at telus dot net
Mantis conversion info:
- Mantis ID: 5971
- OS: Linux
- Version: 2.0.2
- Fixed in version: 2.0.2