>Hi all,
>
>i would like to know if a hv a visual foxpro program. And i want to pass a parameters into the program by start to run the execute file each time.
>such as : " aa.exe 123 456'
>the value 123 and 456 are the parameters that will pass into the program. So how can i get this parameter by coding?
You can put a LPARAMETERS or PARAMETERS command as the first line of the "main" program of your .EXE:
LPARAMETERS ;
tcFirstParameter, ;
tcSecondParameter, ;
...
Note that all such parameters come across as type Character, and you may have to convert to the variable type you want/need.
Regards. Al
"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov
Neither a despot, nor a doormat, be
Every app wants to be a database app when it grows up