General information
Title:
Getting different results from APP and EXE
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only