On Apr 17, 2006, at 8:02, chromatic wrote:
What should the syntax for creating new objects be? That is, if I
define an
object with its methods in the namespace [ 'PAST'; 'Node' ], how do I
create
a new instance of that class?
.local pmc node
node = new ???
.namespace ['PAST']
.sub _onload :load
.local pmc node
node = newclass 'Node'
addattribute node, ...
.end
.namespace ['PAST' ; 'Node']
.sub __init :method # and other methods in that namespace
.end
leo
