MOO-cows Mailing List Archive
[Prev][Index][Thread]
wishlists
-
Date: Sat, 27 Jul 1996 01:35:58 PDT
-
From: faraday@altair.vv.com
-
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:
Home |
Subject Index |
Thread Index