[Prev][Index][Thread]

# wishlists

- Date: Sat, 27 Jul 1996 01:35:58 PDT
- From:
- Content-Type: TEXT/PLAIN; charset=US-ASCII

    The new scattering arguement that pavel added to the 1.8 server,
    I am finding that the next line below it is almost always (with me) a
    typeof() check. It would be good to be able to have that done inside of
    the scattering arguement too.
    For example.

    args = {#432, "description"};
    {o, desc} = args;
    if(typeof(o) != OBJ || typeof(desc) != STR && typeof(desc) != LIST)
      raise(E_TYPE);
    endif

    could become
    args = {#432, "description"};
    {o %(OBJ), desc %(STR, LIST)} = args;

    FD.

Follow-Ups:

- [SERVER] scattering assignment (was: wishlists)

- From: Gustavo Glusman <bmgustav@bioinformatics.weizmann.ac.il>

- Prev: Re: wish lists
- Index: MOO-cows
- Thread: MOO-cows

Home | Subject Index | Thread Index