Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Procedure Commands
Message
From
23/03/2004 13:44:29
 
 
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:
00888974
Views:
14
Hi Chad,

AFAIK you can not do that directly, which is one of many reasons why you should always have unique function names. You may be able to get what you want by SET PROCEDURE TO yourproc, and issue trueorfalse=x(param1), which by the way is the only way to get a result back.

>I have a program that has two procedures, PROCEDURE x and PROCEDURE y. Both procedures either RETURN .T. or RETURN .F. depending on certain circurmstances in the procedure. I am using the command: DO PROCEDURE x WITH param1 IN proc.prg to call both of my procedures. Is there a way to find out if my procedure returns .T. or .F.? 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. Thanks.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform