I have this (nonsense) script
foo=: {{ z=.x+3*y
z=.{{ (<}:y),~(2{."1 x);(2}."1 x) ([* ({~<:)"1~) 1 _1{~2|}:y NB. bla bla
(t2=. 0 1 2 1 2 1 0{~ (4|x0{~<:|{.y0)+3*0>{.y0){ +/"2((2 0 *]),:]) y0{UV
}}
z
}}
which displays as
foo
+-+-+--------------------------------------------------------------------------------------------------------------------------------------------------------+
|4|:|z=.x+3*y
|
| | | z=.{{ (<}:y),~(2{."1 x);(2}."1 x) ([* ({~<:)"1~) 1 _1{~2|}:y NB. bla bla
(t2=. 0 1 2 1 2 1 0{~ (4|x0{~<:|{.y0)+3*0>{.y0){ +/"2((2 0 *]),:]) y0{UV }} |
| | |z
|
+-+-+--------------------------------------------------------------------------------------------------------------------------------------------------------+
and becomes unreadable, at least for me.
Is this meant to be like this, that a comment in a nested definition
concentrates the rest in one line?
R.E. Boss
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm