>Matt,
>There are two things you can do here...
>
>1. Make SETUP.PRG your projects 'main' file. Setup.prg accepts tuParameter and assigns it to a global variable guParameter. Beware this global is released after goApp is initialized, so you have to assign or act on guParameter in the Init of your application class.
>
>2. Modify your Main.prg as follows. (As Barbara says, Main is specific to each application NOT the framework...)
>
>LPARAMETERS xAppParam
>#INCLUDE 'INCLUDE\APPINCL.H'
>DO COMMONPATH\PROGS\Setup with xAppParam
>
>*******
>That will pass the paramater from Main to Setup... which will also allow you to use your parmeters when you are running the ap with DO MAIN at the command line.
>
>BOb
Bob,
Thanks!
Mat