(+/"1)2+\i.5
1 3 5 7

Linda

Get Outlook for Android<https://aka.ms/ghei36>

________________________________
From: Programming <[email protected]> on behalf of Piet 
Google <[email protected]>
Sent: Tuesday, July 31, 2018 8:12:17 PM
To: Programming forum
Subject: [Jprogramming] Why does 1 : ' x u/\ y' fail?

Since

    2 +/\ i.5
1 3 5 7

Further

    ad=.1 : 'u/\'
    2 + ad i.5
1 3 5 7

However

    adv=.1 : 'x u/\ y'
    2 + adv i.5
|domain error

Why?  I suspect it is something to do with bracketing and/or ‘x’ being passed 
to u.
----------------------------------------------------------------------
For information about J forums see 
https://nam01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.jsoftware.com%2Fforums.htm&amp;data=02%7C01%7C%7C7d07883b7ddc44aea6e008d5f74376c9%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636686791477141013&amp;sdata=nTvUlrOqyW5EJLFElfcsRkevX1lwpGt9ysspy%2FyCWG4%3D&amp;reserved=0
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to