Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Capture a return value from DO PROGRAM
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00126101
Message ID:
00126115
Views:
21
>>How can I capture a return value from an .app or .prg with the DO PROGRAM without passing parameters? I can't find anything in the flavor of DO SCREEN TO MYVAR to capture a return value.
>
>Why don't you want to used a the prg as a function: someval = MyFunc, where MyFunc is a prg file ending with RETURN whatever? Forms in VFP (but not FPW) can DO FORM MyForm TO someval. And why wouldn't you want to use parameters?

Whoops, make that: someval = MyFunc()
George

Ubi caritas et amor, deus ibi est
Previous
Reply
Map
View

Click here to load this message in the networking platform