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

Click here to load this message in the networking platform