The parameter is passed to the application's main program.
I believe the command line parameter is always passed as character type, so you'll have to some type checking if you need other types.
HTH
>I need to start a VFP application with a command line parameter:
>
>myapp.exe param
[snip]
Insanity: Doing the same thing over and over and expecting different results.