Why not include these?
#$F=:' '
0
#$G=:'A'
0
<"0 F
┌─┐
│ │
└─┘
<"0 G
┌─┐
│A│
└─┘
Maybe A=:' ABC...
But that might be messy.
Linda
Sent from my Verizon, Samsung Galaxy smartphone
Original message
From: David Lambert
Date: 9/23/18 7:55 PM (GMT-05:00)
To: programmin
Linda
Sent from my Verizon, Samsung Galaxy smartphone
--
For information about J forums see http://www.jsoftware.com/forums.htm
err, yes and
rank =: # @: $
DATA =: 'ABCDEFFGHIJKLMNOPSSTUVXYZ'
SHAPE =: >: ? 3 # 5 NB. zeros aren't beneficial to this demonstration
A =: SHAPE $ DATA NB. A is a rank 3 array of random shape
ITEM_RANK =: ? >: rank A
(;:'array items') , ( (< A) ; ( < <"ITEM_RANK A) ) , ( SHAPE ; ITEM_RANK
I'd call it random shape rather than random rank. The rank is fixed at 3.
The sequence of steps I'm finding is
DATA =: 'ABCDEFFGHIJKLMNOPSSTUVXYZ'
SHAPE =: >: ? 3 # 5 NB. zeros aren't beneficial to this demonstration
A =: SHAPE $ DATA NB. A is a rank 3 array of random shape
ITEM_RANK =:
Thanks, and sorry for replying so late, but we've been out doing "Open
House London",
which happens every year over a September weekend, AND I sang in
Beethoven's 9th
yesterday evening...
OK - I tried the test script (below) with the necessary changes to the
toolkit's path.
Oh no! - I thoug