Hello J-ers!
I have only been working with J for a week or so now, so I am still getting
to grips with all the concepts and verbs etc.
I am trying to get a running countdown. Of which, I thought I could maybe
use something like:
(4&+)/\ (4#10)
but this does not produce the correct results.
I finally found :
(4 : 'y-4')/\ 4#10
but I had wondered if there was a better way to do this, since it doesn't
look very nice.
Now I want to create a verb, based on the above, so that I could change the
value of 4. I tried :
2 (4 : '(4 : ''y-x'')/\(4#y)') 10
again this is very ugly, and doesn't even work!
Thanks alot,
Joey
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm