Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Methods and variables
Message
From
31/07/2002 16:51:02
 
 
To
31/07/2002 10:19:02
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00684399
Message ID:
00684728
Views:
18
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
Previous
Reply
Map
View

Click here to load this message in the networking platform