Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Understanding the AS clause
Message
De
25/03/2008 16:04:01
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Understanding the AS clause
Divers
Thread ID:
01305432
Message ID:
01305432
Vues:
46
I've a little free time today so I thought I'd try and further my understanding of the Local command. Can someone explain to me in simple terms what are the practical differences in the following code sequences?
* Sequence 1
oExcel = CREATEOBJECT("excel.application")

* Sequence 2
Local oExcel
oExcel = CREATEOBJECT("excel.application")

* Sequence 3
Local oExcel as "excel.application"
oExcel = CREATEOBJECT("excel.application")
I assume in the first case oExcel would be private so it would be visible to subsequent routines, but what about the other 2?

Thanks
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform