Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

definie dynamic class

0 views
Skip to first unread message

Dom

unread,
Feb 23, 2007, 3:01:49 AM2/23/07
to
Hello
I'm newbie in Smalltalk and I want to create dynamically a class. I
don't know how we can do
Thank you
Dom

Reinout Heeck

unread,
Feb 23, 2007, 8:05:24 AM2/23/07
to

A named class or an anonymous class?


Creating a named class is real easy: copy a class definition from the
browser to the workspace and tweak it to your liking, then 'Do-it' the
definition.

As you can see it is just a simple message send to a name space that you
can easily integrate into your own code generator...


R
-

Thomas Gagne

unread,
Feb 23, 2007, 2:39:45 PM2/23/07
to
Are you trying to do this inside your program? Does your solution call
for the runtime creation of classes? Do they need names (should they be
in the dictionary and be referenced by name?) or can they be unnamed
(anonymous)?

--
Visit <http://blogs.instreamfinancial.com/anything.php>
to read my rants on technology and the finance industry.

0 new messages