ts <decoux / moulon.inra.fr> wrote in message news:<200211191534.gAJFY0d16939 / moulon.inra.fr>...
> >>>>> "P" == Paul Gregory <pgregory / aqsis.com> writes:
> 

Next question: is it possible to specify arguments to the initialize
method when defining it with this code?

I'd like to be able to do something like...

defineClass("MyObject", scale) {
    scale(scale)
    puts(scale)
}

And have this define a class which takes one argument in its
constructor, then use it thus...

a = MyObject.new(1.5)

Cheers

PaulG