Alistair George said:
> Hi all. I can use a boolean variable, instead to signal the paramstr
> has been used & is now invalid but as a matter of interest, does anyone
> know how to clear the paramstr list (command line) after it has been
> used?

ParamStr is a state of the application, not a variable as such. ie;
although you are finished with it - it is still the ParamStr. Why should
you need to clear it?

If you simply want the application to know if you have dealt with the
paramstr, then set an application variable - eg. "ReadParams := True"

Steve


---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

Reply via email to