Hello All,

I have the below solution, but I want something better.


 Ismember?: func[my-list start-n  n t-element][
   first-element: first at my-list start-n
   if t-element = first-element [return true]
    if  start-n = n [return false]
   Ismember? my-list ADD start-n 1 n t-element
    ]
On Thu, Sep 9, 2010 at 6:38 PM, Emeka <[email protected]> wrote:

>
> Hello All,
>
> Which word would I use for something like this? I have a block [ A B C D] ,
> I would like to do
> Ismember? [A B C D] D comes true because D is in the block already ,  but
> Ismember?{A B C D] F comes false.
>
>
> Regards,
> Emeka
>
> --
> *Satajanus  Nig. Ltd
>
>
> *
>



-- 
*Satajanus  Nig. Ltd


*


-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.

Reply via email to