errmm...
you are trying to write code within the type definition I would guess ( sorry.. dont have access to BMax at the Mo ).
if you replace
my.x = 1
with
method New()
my.x = 1
end method
then my.x should get set to 1 when the moose is created.
you are trying to write code within the type definition I would guess ( sorry.. dont have access to BMax at the Mo ).
if you replace
my.x = 1
with
method New()
my.x = 1
end method
then my.x should get set to 1 when the moose is created.