It was a cut and paste several time on the phone. Always 0. Strange. Linda
-----Original Message----- From: Programming [mailto:[email protected]] On Behalf Of Henry Rich Sent: Tuesday, December 26, 2017 12:34 AM To: [email protected] Subject: Re: [Jprogramming] Error with select? Maybe someone can explain this to me. It's really easy to mistype on a phone. Henry Rich On 12/26/2017 12:32 AM, Linda Alvord wrote: > 'e' e. ,'e' > > Linda > > -----Original Message----- > From: Programming [mailto:[email protected]] On > Behalf Of bill lam > Sent: Monday, December 25, 2017 9:45 PM > To: Programming forum <[email protected]> > Subject: Re: [Jprogramming] Error with select? Maybe someone can explain this > to me. > > which sentence? > > On Dec 26, 2017 10:39 AM, "Linda Alvord" <[email protected]> wrote: > >> On an android phone my result was 0. >> >> On laptop with windows I got the result of 1 >> >> Linda >> >> -----Original Message----- >> From: Programming [mailto:[email protected]] >> On Behalf Of Henry Rich >> Sent: Sunday, December 24, 2017 8:38 PM >> To: Programming forum <[email protected]> >> Subject: Re: [Jprogramming] Error with select? Maybe someone can >> explain this to me. >> >> 'e' e. ,'e' >> 1 >> The character was found in the list. >> >> (<'e') e. <,'e' >> 0 >> The box did not match anything. There was only one thing that could be >> matched. >> >> On Dec 24, 2017 18:12, "Nick S" <[email protected]> wrote: >> >>> I worried about that, but the read is completing. I think that >>> "within a script" would mean that if I had immediate code in an ijs >>> file I can't pause the load to read from the keyboard. >>> >>> I understand the point, and the fix worked. But I thought I had >>> tested for rank mismatch when I did this: >>> >>> (1!:1 (1)) e. 'e' >>> >>> e >>> >>> 1 >>> >>> >>> also >>> >>> >>> >>> (,'e') e 'e' >>> >>> 1 >>> >>> ('e') e. ,'e' >>> >>> 1 >>> >>> >>> And I have a whole bunch more .e stuff that works whether the left >>> or right arguments are >>> >>> scalar or length 1 vectors but then I reread the documentation (for >>> like the fourth time, that was where I first got that it used .e) >>> and it boxes your terms if they are >>> >>> not boxed. >>> >>> >>> boxifopen=:<^:(L.=0:) >>> >>> >>> ('e') e.&boxifopen 'e' >>> >>> 1 >>> >>> (,'e') e.&boxifopen 'e' >>> >>> 0 >>> >>> (,'e') e.&boxifopen ,'e' >>> >>> 1 >>> >>> The fix works. I guess I didn't expect .e to treat things in boxes >>> differently than it would treat immediate terms, other than unboxing >> them. >>> So this has nothing to do with select one way or the other. Sigh. >>> Thanks for the help again. >>> -- >>> Of course I can ride in the carpool lane, officer. Jesus is my >>> constant companion. >>> -------------------------------------------------------------------- >>> -- >>> For information about J forums see >>> https://nam01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww >>> .j >>> software.com%2Fforums.htm&data=02%7C01%7C%7C3c6114f80e914b9da1d608d5 >>> 4b >>> 381428%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C6364976265827737 >>> 03 >>> &sdata=gJQQODxP4U2%2B4bYndEj5HjryzTSlye6whzD7TttQwIo%3D&reserved=0 >> --------------------------------------------------------------------- >> - For information about J forums see >> https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fnam01.safelinks&data=02%7C01%7C%7C441e1a3493164243736608d54c0aaa2b%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636498531039911593&sdata=llHRDejQ5ZFRViORtrSV9nrn9Wn4Ss2pznDfjbS9muc%3D&reserved=0. >> protection.outlook.com/?url=http%3A%2F%2Fwww.jsoftware. >> com%2Fforums.htm&data=02%7C01%7C%7C3c6114f80e914b9da1d608d54b381428% >> 7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636497626582773703&sdata >> = >> gJQQODxP4U2%2B4bYndEj5HjryzTSlye6whzD7TttQwIo%3D&reserved=0 >> --------------------------------------------------------------------- >> - >> For information about J forums see >> https://nam02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww. >> j >> software.com%2Fforums.htm&data=02%7C01%7C%7C441e1a3493164243736608d54 >> c >> 0aaa2b%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C63649853103991159 >> 3 >> &sdata=VwXQnuGS0N7AWbCwsfg7OSm7soMXIT2liqiUv6%2BO1P4%3D&reserved=0 > ---------------------------------------------------------------------- > For information about J forums see > https://nam02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.j > software.com%2Fforums.htm&data=02%7C01%7C%7C441e1a3493164243736608d54c > 0aaa2b%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636498531039911593 > &sdata=VwXQnuGS0N7AWbCwsfg7OSm7soMXIT2liqiUv6%2BO1P4%3D&reserved=0 > ---------------------------------------------------------------------- > For information about J forums see > https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.j > software.com%2Fforums.htm&data=02%7C01%7C%7C0f7f0860a8854770b8be08d54c > 225152%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636498632631140979 > &sdata=TAeXEiFdlQklRerLam0OBS5wBAiEVEyWU%2BVtmcut8rc%3D&reserved=0 --- This email has been checked for viruses by AVG. https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.avg.com&data=02%7C01%7C%7C0f7f0860a8854770b8be08d54c225152%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636498632631140979&sdata=KAkSBO9U6R4aBkY0VLO0EYMLaNFP3Z%2Bm%2BJkebbwjGMA%3D&reserved=0 ---------------------------------------------------------------------- For information about J forums see https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.jsoftware.com%2Fforums.htm&data=02%7C01%7C%7C0f7f0860a8854770b8be08d54c225152%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636498632631140979&sdata=TAeXEiFdlQklRerLam0OBS5wBAiEVEyWU%2BVtmcut8rc%3D&reserved=0 ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
