Thanks, all, for the replies.
 
{"2 1  or {"_ 1 are indeed the corrections I needed to the verb in
question.
 
Sorry to have put my desired result inside a text definition.  I did
that only because I write it inside the console, so I needed to avoid
execution.  I was in a rush, too.
 
To summarize what I learned today:
 
   (,/ q{"_ 1 c) -:  ,/ (q { 0 { c) , (q { 1 { c) , (q { 2 { c) , (q { 3
{ c) ,: (q { 4 { c)
1
   (,/ q { (0 1 2 3 4) { c) -:  ,/ (q { 0 { c) , (q { 1 { c) , (q { 2 {
c) , (q { 3 { c) ,: (q { 4 { c)
0
   
 
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to