Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Procedure Commands
Message
From
23/03/2004 14:28:39
 
 
To
23/03/2004 13:34:58
Chad Ashpole
Ads Information Systems, Inc.
Minneapolis, Minnesota, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00888970
Message ID:
00888988
Views:
15
>Unfortunately I cannot change the procedure code and I have to use DO PROCEDURE because, in my case, I have to specify the IN clause to tell it where my procedure is. If anyone can help me out I would appreciate it.

I think your main Problem here is the IN clause, since this isn't honoured by function calls.
Use Mike Yeager's approach and create wrappers in the app, where x and y are defined:

Procedure WrapX(tlReturn)
tlreturn = x()

Procedure WrapY(tlReturn)
tlreturn = y()

which can be called like

Do WrapX in MyAppToCall with llMyXReturnValue

from your normal code. It's a bit safer (and minimally slower) than the set proc approach...

HTH

thomas
Previous
Reply
Map
View

Click here to load this message in the networking platform