Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
J as object
Message
From
04/10/2001 09:59:55
Brent Croft
Revenue Technology Services
Irving, Texas, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
J as object
Miscellaneous
Thread ID:
00564125
Message ID:
00564125
Views:
51
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
Next
Reply
Map
View

Click here to load this message in the networking platform