bug-apl
[Top][All Lists]
Advanced

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

Re: [Bug-apl] String element of general array


From: Blake McBride
Subject: Re: [Bug-apl] String element of general array
Date: Fri, 9 May 2014 11:46:20 -0500

Dear David,

I had a solution to the single key case a while ago (see prior messages).  My problem is handling one or more keys.

Thanks for the help!

Blake


On Fri, May 9, 2014 at 11:39 AM, David B. Lamkins <address@hidden> wrote:
That particular function is not designed to accept multiple keys.


On Fri, 2014-05-09 at 11:34 -0500, Blake McBride wrote:
> Greetings,
>
>
> It doesn't work:
>
>
>       m←'hello' 'there' 'how' 'are' 'you'
>       m
>  hello there how are you
>
>
>       m find 'are'
> 0 0 0 1 0
>       m find 'are' 'hello'
> 0 0 0 0 0
>       'are' find m
> 0 0 0
>
>
> Thanks.
>
>
> Blake
>
>
> On Fri, May 9, 2014 at 11:15 AM, David B. Lamkins <address@hidden>
> wrote:
>         Try this:
>
>         ∇z←list find key
>          z←(,¨list)∊⊂,key
>         ∇
>
>         (Also: please trim your replies.)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]