MOO-cows Mailing List Archive


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

Jason R. Mills
(aka SunWizard)


Home | Subject Index | Thread Index