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:
00126114
Views:
19
>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?
George

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

Click here to load this message in the networking platform