Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Capture a return value from DO PROGRAM
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00126101
Message ID:
00126115
Vues:
23
>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform