Hi,
I have a Visual Foxpro program, which I can run just fine as a prg in the Visual FoxPro IDE.
When I create an exe and try to run, however, it gives me an error.
'No Parameter Statement is Found'
Re this related thread: thread184-736412:
I do not begin with a parameter statement -because I am not passing it parameters via the command line.
However, I do declare local variables at the top of my PRG, and prompt the user with InputBoxes for values to store in them.
I then call a function within the prg with the local variables.
As mentioned, this works just fine running in a prg. When I run as a exe however, it will run the part of the program that prompt the user for input, and then throws the error above.
The function is set up with implicit declaration, EG, FUNCTION myFunc(parameter1, param2,...)
and being called with local variables like this: myFunc(var1, var2...)
I run the exe by simply double clicking on it.
Let me know if you need more information. Any help would be much appreciated.
Thanks,
OneLChela.
I have a Visual Foxpro program, which I can run just fine as a prg in the Visual FoxPro IDE.
When I create an exe and try to run, however, it gives me an error.
'No Parameter Statement is Found'
Re this related thread: thread184-736412:
I do not begin with a parameter statement -because I am not passing it parameters via the command line.
However, I do declare local variables at the top of my PRG, and prompt the user with InputBoxes for values to store in them.
I then call a function within the prg with the local variables.
As mentioned, this works just fine running in a prg. When I run as a exe however, it will run the part of the program that prompt the user for input, and then throws the error above.
The function is set up with implicit declaration, EG, FUNCTION myFunc(parameter1, param2,...)
and being called with local variables like this: myFunc(var1, var2...)
I run the exe by simply double clicking on it.
Let me know if you need more information. Any help would be much appreciated.
Thanks,
OneLChela.