MOO-cows Mailing List Archive

[Prev][Next][Index][Thread]

Re: MOO into C




On Wed, 24 Jul 1996, Adams, Charles wrote:
>
> foo = {@foo, bar}
>

Perhaps as an alternate to this syntax, the following could be implemented:

foo[expr] = bar

Where if expr is greater than the length of foo, it would append bar to
the end of the list foo.  A good example of `expr' might be `$ + 1' or
some other symbol similar to $ to represent the slot past the end of the
list.

Jason R. Mills
(aka SunWizard)



References:

Home | Subject Index | Thread Index