Re: [Jprogramming] Using rank to avoid looping - reference?

2018-09-23 Thread Linda Alvord
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

[Jprogramming] After I sent it out I realized that rank in lower left should be <#$B I've been playing with it. I'm looking forward to your ideas.

2018-09-23 Thread Linda Alvord
Linda Sent from my Verizon, Samsung Galaxy smartphone -- For information about J forums see http://www.jsoftware.com/forums.htm

Re: [Jprogramming] Using rank to avoid looping - reference?

2018-09-23 Thread David Lambert
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

Re: [Jprogramming] Using rank to avoid looping - reference?

2018-09-23 Thread David Lambert
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 =:

Re: [Jprogramming] Tacit form: How to handle intermediate

2018-09-23 Thread 'Mike Day' via Programming
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