[Lazarus] WebLaz bug

2012-11-28 Thread Leonardo M . Ramé
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

[Lazarus] Why doesn't this work?

2012-11-28 Thread 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 work!'; // Output : No, it doesn''t work! end;

Re: [Lazarus] Why doesn't this work?

2012-11-28 Thread Maxim Ganetsky
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

Re: [Lazarus] WebLaz bug

2012-11-28 Thread leledumbo
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