f=: ((1 0$'') #~ [: <: [: # ":) , '*' #~ ]
   g=:[: > [: ,&.>/ <&f"0

   a=:f 3
   b=:f 10
   c=:f 4

   a,b,c
***

**********
****

   g 3 10 4
***

**********
****

I feel like the verb g is taking a roundabout way(compared to a,b,c)
and suppose there should be a more direct path.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to