Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Hello m.World
Message
 
À
22/04/2000 11:51:47
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00362492
Message ID:
00362510
Vues:
16
Cetin,

The LOCAL is only not necessary if no other code is called from that method. Otherwise the LOCAL is protecting the variable from being changed by some other code that may be called from the method.

Declaring variables LOCAL is a good practise since it allows you to alter the method's code in the future without worrying about whether csoem other mehtod called will try and use the same variable name for some other purpose and therefore over write the value of your Private variable.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform