According to Thomas Tan:
I get wierd errors when I try to compile the command line argument example. First it had a problem with the line (ParamStr := ";), so I changed the " to ""
An empty string was meant, so the correct thing would be '', but "" works, too.
Then it said ( cmdline.pas(36) Error: undeclared identifier `Arg_num'" )about the line ( Success := _p_paramstr (arg_num, Str);) I don't know what's wrong.
Change it to `num', then it should work.
The part of the documentation you are referring to is outdated.
The packages `BPcompat' and `BO5', both available from ftp://agnes.dida.physik.uni-essen.de/gnu-pascal/contrib/, contain tested, BP-compatible versions of `ParamCount' and `ParamStr'.
In addition, I am currently working on making those functions built-in.
Hope this helps,
Peter
Dipl.-Phys. Peter Gerwinski, Essen, Germany, free physicist and programmer peter.gerwinski@uni-essen.de - http://home.pages.de/~peter.gerwinski/ [971005] maintainer GNU Pascal [971001] - http://home.pages.de/~gnu-pascal/ [971005]