Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Returning an Array from a Function
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00338850
Message ID:
00339175
Vues:
29
>You also cannot use the @ within a return, and can't pass something created as LOCAL or PRIVATE up the chain; only PUBLICs can be seen above the level at whichthey are created.

Not sure that I'm reading this correctly, but just to be clear: You *can* return a value created as LOCAL or PRIVATE.

For example:

function DivideByTwo
lparameter lSomeValue
local lReturnVal
lReturnVal = lSomeValue / 2
return lReturnVal


Take care,
Joe
Joseph C. Kempel
Systems Analyst/Programmer
JNC
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform