Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting different results from APP and EXE
Message
From
06/02/2002 13:02:17
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
Getting different results from APP and EXE
Miscellaneous
Thread ID:
00616174
Message ID:
00616174
Views:
58
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
Next
Reply
Map
View

Click here to load this message in the networking platform