Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
No PARAMETER statement is found
Message
From
04/05/1999 23:25:02
 
 
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00214951
Message ID:
00215219
Views:
43
>>>>Mat,
>>>>Your LParameters statement must be in the first PRG called - MAIN in your case. Just move the lParameters and handle the incoming information there.
>>>>
>>>>Barbara
>>>>
>>>
>>>Barbara and Ed,
>>>
>>>I understand this and have used command line parameters in the past, but I am trying to do this using the Mere Mortals Framework. According to the developers guide I do not need to modify the main or setup programs? I just think I am missing something in the implementation of this feature of the framework, but thanks for the reply.
>>>
>>
>>Regardless of the framework, if you want to accept parameters, the first executable line of code in your main program has to have a PARAMETERS or LPARAMETERS statement; it's the only place that can receive the values.
>>
>>>Kind Regards,
>>>
>>>Mat
>
>Hi,
>
>I am a MM user, and I beleive the documentation is refering to the fact that you can send parameters to the application object or a form object. Which section did you read this in the documentation so I can have a look. By the way, do not modify the setup or main program, despite the advise you have heard from elsewhere. These programs were never meant to be modified and are integral parts of the framework.
>

I don't use the MM framework, but if nothing grabs parameters from the command line and you need the command line parameters to be passed to your application, you've lost the values if the main doesn't grab them. YMMV

>Jim Weil
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform