Leopold Toetsch <[EMAIL PROTECTED]> writes:
> Should this really print "ParrotClass":
> newclass P0, "Foo"
> typeof S0, P0
> print S0
> print "\n"
> find_type I0, "Foo"
> new P1, I0
> typeof S0, P1
> print S0
> print "\n"
> end
> ParrotClass
> Foo
At 11:53 AM +0100 3/17/04, Leopold Toetsch wrote:
Should this really print "ParrotClass":
That's a good question, and it dives into the whole
class/metaclass/object thing. If a class is an object, then it ought
to be an instance of some class, so class objects could reasonably be
instances of th
Should this really print "ParrotClass":
newclass P0, "Foo"
typeof S0, P0
print S0
print "\n"
find_type I0, "Foo"
new P1, I0
typeof S0, P1
print S0
print "\n"
end
ParrotClass
Foo
leo