[fpc-pascal] ParamStr(0) bug??
john at jcoppens.com
Tue Apr 25 02:00:06 CEST 2006
On Mon, 24 Apr 2006 13:35:40 -0400
Bob Richards <bob at tamara-b.org> wrote:
> I have written a program who's behavior depends on the name by which it
> has been invoked. This is not uncommon, for instance sendmail invoked
> as mailq behaves in a completely different way.
You could try to access the environment variables - the '_' variable
contains the command used to start the program. Just tested it - it shows
More information about the fpc-pascal