[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

LOGO-L> Re: is there a predicate that will work for this?



"Ilan Rabinovitch" <thefonze@earthlink.net> writes:
>is there a predicate like notmemberp or something that will make something
>true if the readword is not on a certain list?

There is a MEMBERP predicate, and there is a NOT operator, so you
could easily write

to notmemberp :this :those
output not memberp :this :those
end

(or just say NOT MEMBERP each time :-)




---------------------------------------------------------------
Please post messages to the Logo forum to logo-l@gsn.org.  Mail
questions about the list administration to logofdn@gsn.org.  To
unsubscribe send    unsubscribe logo-l    to majordomo@gsn.org.



Global SchoolNet Foundation - Linking Kids Around the World!
Copyright GSN - All Rights Reserved - Comments & Questions
Visit GSN's Global Schoolhouse for more exciting learning resources!
Search our Site - Home