Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting different results from APP and EXE
Message
 
To
06/02/2002 13:02:17
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00616174
Message ID:
00616202
Views:
24
What's the code inside MyProc?

Cathy

>I am getting different results from a procedure call when a program is run as an APP and when it is run as an EXE. It works properly when compiled as an APP as I've set STEP ON above the code. I added WAIT WINDOWs so I could "watch" the values when the code is run as an EXE. I've also just used the WAIT WINDOWs when running the program as an APP.
>
>Here is the basic code I'm running:
>
>
>WAIT WINDOW "Before Procedure Call: Var1 = " + m.Var1 + ", Var2 = " + m.Var2
>
>DO MyProc WITH m.Var1, m.Var2
>
>WAIT WINDOW "After Procedure Call: Var1 = " + m.Var1 + ", Var2 = " + m.Var2
>
>
>MyProc doesn't use VERSION() and should return the same results. The variables return with the expected changes in the APP, but not with the EXE.
>
>Any ideas?
>
>Mark
Cathy Pountney, Microsoft Visual FoxPro MVP
Memorial Business Systems, Inc. (www.mbs-intl.com)

My Website: (www.frontier2000.com)
My Blog: (www.cathypountney.blogspot.com)
My Book: The Visual FoxPro Report Writer - Pushing it to the Limit and Beyond
Free MSDN Article: What's New in the VFP 9.0 Report Writer
Free MSDN Article: The VFP 9.0 Report Writer In Action
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform