Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Local vs Private Parameters
Message
De
16/04/2007 13:02:49
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01216334
Message ID:
01216344
Vues:
18
>>It appears that creating a function via
>>
FUNCTION myFunc (p1 AS String, p2 AS Int,...etc)
>>creates the paramaters as Local variables.
>>
>>Using the same syntax, is there an option somewhere that would allow them to be created as PRIVATE????
>>
>>Thanks......Rich
>
>I thought it would create them as private (guess I was wrong). Using Parameters vs LPARAMETERS statement gives you more control.

Yeah, I know that. Unfortunately there are a couple of hundred little modules using this syntax and I was hoping to be able to convert them without having to dig through them all.

That being said, maybe it's better to check them all since a couple of the modules might really need the local versions.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform