Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

verify existence of a word

 [1/3] from: tim::johnsons-web::com at: 16-Oct-2000 8:05


Hi : Two questions: 1) How may I query rebol to verify whether a word exists? 2)How may I query rebol to verify whether a member of an object exists? I'll betcha 1) answers 2). :) Thanks. -Tim

 [2/3] from: al:bri:xtra at: 16-Oct-2000 19:55


> Two questions: > 1) How may I query rebol to verify whether a word exists? > 2) How may I query rebol to verify whether a member of an object exists? >> value? 'print
== true
>> value? 'antidisestablishmentarianism
== false
>> o: make object! [m: "mmmmmmmm"] >> in o 'antidisestablishmentarianism
== none
> I'll betcha 1) answers 2). :)
You'll be wrong! :-) Andrew Martin ICQ: 26227169 http://members.nbci.com/AndrewMartin/

 [3/3] from: tim:johnsons-web at: 17-Oct-2000 17:03


Thanks Al! Better to be wrong in the list than wrong in the release! :) Regards -Tim [Al--Bri--xtra--co--nz] wrote: