[Newbies] Defining a class at runtime

Marcin Tustin mm3 at zepler.net
Fri Jul 20 09:31:21 UTC 2007


On 7/20/07, Bert Freudenberg <bert at freudenbergs.de> wrote:
>
> On Jul 20, 2007, at 8:52 , Louis Moon wrote:
>
> > Hello. I've been playing around with Squeak the last couple of
> > days, and I've found it pretty easy to use so far. However, I can't
> > figure out how to do this (I'm trying mostly out of curiousity). I
> > suspect it had something to do with the ClassBuilder class, but I
> > can't figure out its usage. How's it done? Thanks for any help.
>
> In Squeak there is no "runtime". Just send the same message you use
> to create a class in a browser.
>

What is that message? We're all holding our breath.

(If you're not going to say that, I'll point out that it is possible to
examine code in the browser to see how it does it.)

...and yes, of course, there is a runtime.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/beginners/attachments/20070720/fb447d6d/attachment.htm


More information about the Beginners mailing list