Oops, sorry— I used manual copy instead of copy and paste, and I overlooked my ~ in the process.
I need to refresh my proof reading skills... Thanks, — Raul On Sunday, December 30, 2018, 'Rob Hodgkinson' via Programming < [email protected]> wrote: > Thanks Rick, works better, even one ~ less if you move the ~ outside the > fork … > > (i. ~: i:)~ t > > …/Rob > > > On 30 Dec 2018, at 3:10 pm, Ric Sherlock <[email protected]> wrote: > > > > Try > > (i.~ ~: i:~) t > > > > On Sun, 30 Dec 2018, 17:02 'Skip Cave' via Programming < > > [email protected] wrote: > > > >> t > >> > >> 3 5 4 2 3 5 6 2 9 2 8 > >> > >> $t > >> > >> 11 > >> > >> (i. ~: i:) t > >> > >> |length error > >> > >> | (i.~:i:) t > >> > >> > >> What is going wrong? > >> > >> > >> > >> Skip Cave > >> Cave Consulting LLC > >> > >> > >> On Sat, Dec 29, 2018 at 9:28 PM Raul Miller <[email protected]> > wrote: > >> > >>> Another approach is: > >>> > >>> (i. ~: i:) t > >>> 1 1 0 1 1 1 0 1 0 1 0 > >>> > >>> Thanks, > >>> > >>> — > >>> Raul > >>> > >>> On Saturday, December 29, 2018, Jimmy Gauvin <[email protected]> > >>> wrote: > >>> > >>>> Hi, > >>>> > >>>> is there a better way tag duplicates in a list than the following > >> (which > >>>> smells of overkill) : > >>>> > >>>> t=:3 5 4 2 3 5 6 2 9 2 8 > >>>> t e. (~.t) #~ 1~: #/.~t > >>>> 1 1 0 1 1 1 0 1 0 1 0 > >>>> > >>>> Thanks, > >>>> > >>>> Jimmy > >>>> ------------------------------------------------------------ > ---------- > >>>> For information about J forums see http://www.jsoftware.com/ > forums.htm > >>> ---------------------------------------------------------------------- > >>> For information about J forums see http://www.jsoftware.com/forums.htm > >> ---------------------------------------------------------------------- > >> For information about J forums see http://www.jsoftware.com/forums.htm > > ---------------------------------------------------------------------- > > For information about J forums see http://www.jsoftware.com/forums.htm > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
