# Wish list

Microwave Systems Admin (root@microwave.com)
Tue, 29 Aug 1995 06:37:28 PDT

- Messages sorted by:[ date ][ thread ][ subject ][ author ]

    On Mon, 28 Aug 1995 anomaly@u.washington.edu wrote:

    > > Has anyone added this to the wish list yet? {a,b,c}[d]=e
    > > whichone=args[1];
    > > stuff=args[2];
    > > {this.name,this.description,this.aliases}[whichone]=stuff;
    >
    > You can achieve the same results for the properties above by doing
    >
    > whichone=args[1];
    > stuff=args[2];
    > prop={"name","description","aliases"}[whichone];
    > this.(prop)=stuff;
    >

    Uh, why not:

    this.({"name","description","aliases"}[whichone]) = stuff;

    ???