ERROR in Dyalog APL 12.1
APL2 Code:
X←23 3 ⍴' ' (23 ROWS 3 COLUMS OF SPACES MATRIX)
(~∧/X∊' ?'⍀(1 2 ⍴'0'))
The result of above statement in APL2 is 23 rows and 2 column matrix
of spaces.
My ultimate objective is to get result as no of columns of right hand
argument and no of rows of left argument. I mean 23 rows and 2 column
matrix of space.
I tried with below logic, but I am getting 0's as result instead
spaces, only when my left argument is an array of numeric 1. If its
is 0, then it gives LENGTH ERROR
(y⍀((⍴y),2)⍴'0')00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
Can someone please help me in resolving this?