Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
J as object
Message
 
To
04/10/2001 09:59:55
Brent Croft
Revenue Technology Services
Irving, Texas, United States
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Miscellaneous
Thread ID:
00564125
Message ID:
00564128
Views:
17
The first english letters (till K if I recall correctly) are assigned to the workareas. So, when you use J here it confused with the alias in the workarea J.


>I ran across what I believe to be an error in Fox Pro. Could someone please let me know if there is anything on this.
>
>In the command window, set the class library to any class library you want.
>Then instantiate the class as an object 'j' and try to print any of the properties or call any of the methods.
>j = createobject('Something')
>
>?j.name
>
>You will receive an error message every time. I looked in the debug window to verify the object was created properly, and everything was there correctly.
>
>Now release 'j' and instantiate the class with anything else (ex. 'x' or even 'jj') And display any of the properties, and now they will appear.
>
>release j
>jj = createobject('Something')
>
>Any thoughts on this?
>
>Thanks
Previous
Reply
Map
View

Click here to load this message in the networking platform