On Mon, 24 Apr 2006 13:35:40 -0400
Bob Richards <[EMAIL PROTECTED]> 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
the link.

John
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to