>Hi,
>
>Is it possible to pass a value to an vfp exe as a command line value?
>
>e.g. 'MyProg.exe -training' or something like this.
>
>Thank you in advance for your help.
>
>Regards,
>Mike Mayo
To add onto Sergey's reply, additional parameters that are declared in your .PRG, but not actually passed as arguements, are not character strings. They would be a logical .F. value. In either case, you can use IF NOT EMPTY(tcParam3) etc., to see if it was passed or not.