Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
J as object
Message
De
04/10/2001 09:59:55
Brent Croft
Revenue Technology Services
Irving, Texas, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
J as object
Divers
Thread ID:
00564125
Message ID:
00564125
Vues:
52
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform