> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of > Carl Read > Sent: Thursday, December 13, 2001 1:47 PM > To: [EMAIL PROTECTED] > Subject: [REBOL] Re: Searching objects
> The following function might do the job for you, though I's sure there > must be a better way... > > obj-find: func [series field value][ > forall series [if series/1/:field = value [return index? series]] > none > ] Hi, thanks but that's the O(n) version IIRC? I would like to use the hash! approach/speed but wasn't able to find the right way to do it ;-)). Robert -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.
