Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Procedure Commands
Message
From
23/03/2004 14:47:21
 
 
To
23/03/2004 14:33:09
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:
00888994
Views:
19
I don't quite understand what youi mean.

There are only two differences between a function and a procedure:
1. The location of the procedure can be hardcoded, like DO whatever IN yourprocedurefile
2. A function returns a value.

As far as I can see, you mix a procedure (which is inside a procedure file) and the individual procedures in a procedure file?

If you know procedure x (version 1) is in procedure file a, and procedure x (version 2) is in procedure file b, you can use:
SET PROCEDURE TO A
returnvalue=x(param1)
to get the value returned from the x (version 1) procedure in procedure file a, and
SET PROCEDURE TO B
returnvalue=x(param1)
to get the value returned from the x (version 2) procedure in procedure file b. Which is what you want, or did I miss something?

>So it really doesn't matter what I return in my procedure, true or false, because I can't test for it anyway using DO PROCEDURE.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform