Hi,

The output from x is nicely arranged:

/⍝ A  2x2 array of 2x2 arrays/ :

*x←2 2 ⍴(⊂2 2)⍴¨ 'asdf' 'yxcv' 'hjkl' 'uiop'**
     x
***as  yx
df  cv

hj  ui
kl  op

* ≡x*
2

/⍝ The gaps between arrays: OK.
/*⍕x*
as  yx
df  cv

hj  ui
kl  op /

⍝ Correct gaps:/
*     ' '=⍕x*
1 0 0 1 1 0 0 1
1 0 0 1 1 0 0 1
1 1 1 1 1 1 1 1
1 0 0 1 1 0 0 1
1 0 0 1 1 0 0 1


Compared to the above output the output from ⊂¨x is distorted,
on larger output it gets confusing as output of "sub arrays" does not get separated vertically:

/⍝ The shape of each from  2x2 array of  scalars of 2x2 arrays :
/*   ⍴¨⊂¨x*



/⍝ The output of  a 2x2 array of  scalars of 2x2 arrays :/
*⊂¨x*
 as   yx
 df   cv
 hj   ui
 kl   op /

⍝one more ... OK/
*≡⊂¨x*
3

/⍝ Correct vertical gaps are added (one more),
⍝ The horizontal gap gets removed (one less??) instead added:/
*⍕⊂¨x*
 as   yx
 df   cv
 hj   ui
 kl   op

*' '=⍕⊂¨x*
1 1 0 0 1 1 1 0 0 1 1
1 1 0 0 1 1 1 0 0 1 1
1 1 0 0 1 1 1 0 0 1 1
1 1 0 0 1 1 1 0 0 1 1

Best Regards
Hans-Peter





Reply via email to