As Foxweb support suggested do the SET PROCEDURE TO <filename> ADDITIVE stuff...
Then you can call the procedure/function and assign its return value to a variable
Another way is to :
1. Declare a public/private variable before the "DO....".
2. Your procedure can then save the result to the public/private variable you created.
3. Destroy the variable afterwards.
Hope this helps...
Sent by David Hempy on 04/07/2004 01:57:29 PM:
This isn't really a FoxWeb question, but I'm hoping someone here knows the answer.
I'd like to call a function in another file, such as this:
WidgetStuf() returns a value that I need to check. Is there any way to access the return value using the DO WidgetStuff IN... syntax?
I could use reference parameters...I can do that, but I don't really want to go change old functions' behaviour if I can help it.
I've scoured the VFP docs and I haven't found any indication of an answer, positive or negative. Google didn't offer any help, either.