Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Trivial question re return value and ()
Message
De
18/05/2016 13:25:58
 
 
À
18/05/2016 11:12:44
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 8.1
Network:
Windows Server 2012
Database:
Visual FoxPro
Application:
Desktop
Virtual environment:
VMWare
Divers
Thread ID:
01636581
Message ID:
01636591
Vues:
93
>can read Foxhelp its well explained (search for "return command")
>or also https://msdn.microsoft.com/en-us/library/512x8ss9%28v=vs.80%29.aspx
>can see all possbilities for return command
>
>lnReturn Specifies the expression returned to the calling program.
>
>return (lnReturn) replaces maybe the old macro "return &lnReturn" .it evaluates the expression returned to the calling programm.
>it can be at the end of a procedure or function or even a modal form..

No, putting the return value in parens doesn't change the value returned in any way. Parens only make a different in places where VFP expects a name and only a name.

Tamar
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform