13 Oct
1998
13 Oct
'98
11:24 a.m.
Jo Dillon wrote:
Just a quick question - how do I get access to command-line parameters from gpc? (I.e. the equivalent of main(argc,argv)) I looked through the info documentation and couldn't find anything.
gpc-19980830 has the following built-in functions: Function ParamCount: Integer; Function ParamStr ( i: Integer ): String; {*} {*} Returning a string of unspecified length requires compiler magic. ;-) Hope this helps, Peter -- Peter Gerwinski, Essen, Germany, http://home.pages.de/~Peter.Gerwinski/ Maintainer GNU Pascal - http://home.pages.de/~GNU-Pascal/ - gpc-980830 PGP key on request - 6C 94 45 BE 28 A4 96 - 0E CC E9 12 47 25 82 75 Fight the SPAM and UBE! - http://spam.abuse.net/ - http://maps.vix.com/