Hi, I am looking to repeatedly apply a verb on itself until a certain value is 
reached, with the prior knowledge that there are two values that can be 
reached. The idea is to count how many times one of the two values comes up. I 
know about the power verb but I'm not sure how to use it properly beyond the 
simple v^:n y form. I've read about using it like a C while loop but in my 
case, there are two values I want to 'exit the loop' with.

Any pointers? Thanks.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to