I don't know if this bug is related to Lazarus, WebLaz or FPC. Please
tell me and I'll post it on Mantis:
To reproduce it, please follow this steps:
1) Create a CGI application. You'll need WebLaz package.
2) Add an FPWebModule.
3) Add two or three actions. Compile and check if they work as
procedure TForm1.Button1Click(Sender: TObject);
var
iLastError: integer;
begin
iLastError:=10053;
if iLastError in [10053, 10054] then Label1.Caption:='Yes, it works!'
else Label1.Caption:='No, it doesn''t
work!';
// Output : No, it doesn''t work!
end;
29.11.2012 2:15, Erwin van den Bosch пишет:
procedure TForm1.Button1Click(Sender: TObject);
var
iLastError: integer;
begin
iLastError:=10053;
if iLastError in [10053, 10054] then Label1.Caption:='Yes, it works!'
else Label1.Caption:='No, it doesn''t
I don't know if this bug is related to Lazarus, WebLaz or FPC. Please
tell me and I'll post it on Mantis:
To reproduce it, please follow this steps:
1) Create a CGI application. You'll need WebLaz package.
2) Add an FPWebModule.
3) Add two or three actions. Compile and check if they work