> To: [EMAIL PROTECTED] > From: "Laurent Cocea" <[EMAIL PROTECTED]> > Subject: [fpc-pascal]replacing BEGIN and END? > Send reply to: [EMAIL PROTECTED] > Date sent: Wed, 07 Jan 2004 21:41:35 -0800 (PST)
> Hi all- > > Do you guys think there might be a way, either at this time or in the > near future, to replace `BEGIN' with `{' and `END' with `}' in FPC code, > and still be able to successfully compile it? Thanks. > > --Laurent > > _______________________________________________ > fpc-pascal maillist - [EMAIL PROTECTED] > http://lists.freepascal.org/mailman/listinfo/fpc-pascal Here it is: echo /* test*/ program test; {writeln('hello'); }. |\ sed -e"s/{/begin/g" | sed -e"s/}/end/g" | fpc -o hello Enjoy, but remember that there are also comments. Jan Jelowicki [EMAIL PROTECTED] ------------------------------------------------------------------- Wroclaw University of Agriculture Akademia Rolnicza we Wroclawiu Department of Mathematics Katedra Matematyki ------------------------------------------------------------------- _______________________________________________ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal