On Wed, 27 Jun 2001, Eike Lange wrote:
On Wed, Jun 27, 2001 at 06:22:20PM +0530, Anuradha wrote:
Does gpc support initialisation section like:
You can also pass initialisation parameters from the command line:
t.pas
program foo; uses myunit; begin end.
myunit.pas
unit myunit; interface implementation
to begin do if paramcount > 0 then writeln( paramstr(1)) else
writeln('hello world'); end.
But not from the main program: "to begin do" dosen't work there, (should it?) and the body of the main occurs after the "to begin to".
Russ