Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Return value
Message
De
05/06/2002 12:34:32
 
 
À
05/06/2002 11:52:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00664991
Message ID:
00665027
Vues:
17
Joe,

Run your program (or procedure) like this:
llSuccess = myprog()
or, you can do this:
if myprog()
   *  myprog was successful
else
   *  something went wrong
endif
>I am calling a prg from a form using:
>
>do myprg
>
>After the prg has finished running I want it to return a value letting me know whether or not everything was successful. If something failed in the prg I put a Return .f., if it was successful I put a Return .t.. How do I accept that return value into the calling form? Am I even doing this properly?
>
>TIA!
Steve Gibson
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform