Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do you call a PRG which returns a value?
Message
De
03/11/2011 17:01:59
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
How do you call a PRG which returns a value?
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Database:
Visual FoxPro
Divers
Thread ID:
01527979
Message ID:
01527979
Vues:
161
I have a prg that receives parameters and returns a value. It does not have "Procedure" line at the top, it's just code in a prg.

The last line of the file returns a value with RETURN lnReturn

So, how do you call a PRG in a way that you can capture the return value?

I've tried stuff like:
Do Blah.prg with 'SomeString' to lnReturn
and other goofy attempts, but none have worked.

What to do?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform