I have a very strange problem when compiling a little program from inside lazarus. whenever I try to assign a name to a file using the command "assign" I have an "wrong amount of parameters especified" error.
I try to compile a programme like this on fpc (console) y worked. There was no problem, but the same code inside lazarus gives the error.
Here's the code.
---
procedure TForm1.Button4Click(Sender: TObject);
Var
F: file;
begin
Assign(F, 'pepe.txt');
end;
---
what can it be happening?
Thanks.
Dhouard.