https://groups.google.com/forum/?hl=is#!topic/j-programming/gImUBALaDEg

2011/10/8 David Vaughan <purpleblue...@googlemail.com>

> 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
>



-- 
Björn Helgason, Verkfræðingur
Fornustekkum II
781 Hornafirði,
t-póst: gos...@gmail.com
gsm: +3546985532
twitter: @flugfiskur
http://groups.google.com/group/J-Programming


Tæknikunnátta höndlar hið flókna, sköpunargáfa er meistari einfaldleikans

góður kennari getur stigið á tær án þess að glansinn fari af skónum
          /|_      .-----------------------------------.
         ,'  .\  /  | Með léttri lund verður        |
     ,--'    _,'   | Dagurinn í dag                     |
    /       /       | Enn betri en gærdagurinn  |
   (   -.  |        `-----------------------------------'
   |     ) |         (\_ _/)
  (`-.  '--.)       (='.'=)   ♖♘♗♕♔♙
   `. )----'        (")_(") ☃☠
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to