[fpc-pascal] run pascal programs as scripts
Mattias Gaertner
nc-gaertnma at netcologne.de
Thu Mar 24 23:21:26 CET 2011
On Thu, 24 Mar 2011 23:10:08 +0100
Felipe Monteiro de Carvalho <felipemonteiro.carvalho at gmail.com> wrote:
> > Commenting is better. Then the reported error line numbers are still
> > valid.
>
> Yes, but then bash won't recognize it, I suppose
I meant:
Original file:
#!/usr/bin/instantfpc
begin
end.
bash is happy.
Preprocessor creates:
//#!/usr/bin/instantfpc
begin
end.
fpc is happy.
Mattias
More information about the fpc-pascal
mailing list