Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Methods and variables
Message
De
31/07/2002 16:51:02
 
 
À
31/07/2002 10:19:02
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00684399
Message ID:
00684728
Vues:
17
To expand on that, FoxPro reserves the first 10 letters of the alphabet for work areas. The letter m is reserved to explicitly reference memory variables. Therefore objects cannot be named a-j or m. In addition it is bad programming practice to use single letter names except in testing.

Glenn

>I think the problem is that you are useing 'a' as a variable and confusing VFP. VFP reserves a as a workarea.
>
>If you do exactly the same code using, for example, oSheet instead of 'a', you should see the problem go away.
>
>Alan
>
>>I've created an object
>>a= createobject('excel.sheet')
>>When I tryed to reference a instance variable or a method:
>>a.name= 'aaa'
>>the system shows me a message: 'name' variable is not found
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform