Class Name
BELEM Mahamadou
mabelem2003 at yahoo.fr
Tue May 24 11:51:17 UTC 2005
Hello
1) It is possible to call a methode of a class by using a string?
Example : myString := 'car'. /where car is a class name.
I want by using myString, call the "run" methode of a object of car : myString run.
Can some body explain how to do? Please
2) How to get the class name of a object? I try myObject className, but it doesn't perform.
Best regards.
---------------------------------
Découvrez le nouveau Yahoo! Mail : 1 Go d'espace de stockage pour vos mails, photos et vidéos !
Créez votre Yahoo! Mail
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20050524/f60fce78/attachment.htm
More information about the Squeak-dev
mailing list
|