MOO-cows Mailing List Archive
[Prev][Next][Index][Thread]
Re: fun with eval-d
Amy writes:
> ;me.temp = {1, 2, 3}
> => {1, 2, 3}
> >eval-d me.temp[5] = 5
> => 5
> >;me.temp
> => E_RANGE (Range error)
>
> Wouldn't it be more intuitive if the eval-d expression returned the value
> E_RANGE, but left the property's value unchanged? Right now it actually sets
> the property me.temp's value to E_RANGE.
Quite so. Consider this fixed in 1.8.0, where you could simply stop using !d
verbs and use the new error-handling primitives instead.
Pavel
References:
Home |
Subject Index |
Thread Index