R.E. Boss wrote:  
> With n=5, is this what you are looking for?
>    k,5#,:kk

Yes, this is exactly what I was looking for--and, as I had anticipated, 
it's much simpler than I had originally thought.  I enjoy learning how 
things work, and so I immediately went to the Dictionary to figure out 
how # (copy) could be used this way, since I obviously hadn't caught 
that on my first times trying to understand the command and how to use 
it.  That's one of the main problems for beginners with the Dictionary 
examples: they usually demonstrate more advanced uses of the verbs 
(which I don't object to at all!) but omit the simpler uses that 
beginners to the language would thrive on--in this case, for example, 
including the following 4 "simple" uses (among perhaps others) of the # 
"copy" command could have been helpful for beginners, to give some 
clues of possible applications of the command:
3 # 0 0 1 2    3 # ,: 0 0 1 2    3 # 0;0;1;2    3 # ,: 0;0;1;2

Ken Iverson's educational materials (most on the Jsoftware site) are 
just full of the kind of examples I wish were in the J Dictionary.  
(You can tell he was an educator.  Pity he didn't write more!)  Maybe 
what's needed is *another* document: a "J Dictionary of Examples" or, 
perhaps better yet, a "J Encyclopedia of Examples" (since an 
encyclopedia has far more information than a dictionary)--where there 
might be pages and pages of examples for each verb, perhaps some even 
with nonterse (I hesitate to use the word "verbose" on this list!) 
explanations. ;-)

Thanks for your response--it was very helpful to me!

Harvey

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to