Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
No PARAMETER statement is found
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00214951
Message ID:
00215407
Vues:
36
>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
Matthew Kennedy
Decision Support Technology Inc.

"I try to take one day at a time, but sometimes several days attack me all at once." ~ Ashleigh Brilliant

New Jersey Dot Net User Group
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform