On Fri, Sep 03, 2004 at 12:25:37PM -0500, Jonathan Scott Duff wrote:
: If "my int @foo" makes a compact array of ints, is there a way to make a
: compact array of Dog? (Does it even make sense?) And if so, does it look
: like "my Dog @foo" or must there be some other syntax to declare it?

It's just "my Dog @foo", which can be stored exactly like "my
ref @foo".  Maybe "my ref @foo" is redundant with "my Any @foo",
if Any is always a reference type.  (Which would imply that a mere
value passed to an Any parameter would be autoboxed, which sounds
about right.  When viewed as an Any, int turns into Int, num into Num,
str into Str, ref into Ref, dog into Dog, etc. :-)

Larry

Reply via email to