View Complete Thread | FoxWeb Forum Home
Date:    Msg ID:   
From:    Thread:   
On possibility would be to use SET PROCEDURE TO:
retval = WidgetStuff()

FoxWeb Support Team email

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:
DO WidgetStuff IN \db\myprog
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.
Any suggestions?

David Hempy
Internet Database Administrator
Kentucky Educational Television
(859)258-7164  -  (800)333-9764