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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement