in reply to Toggling between two values

From the "Still Learning, but I have a Camel Book" department:

Would the bi-stable operator (..) help here? I just read the description three times, and it sounds right, but I can't make the last step from what the book says (pp.103-104, 3rd Ed.) to code.

Any ideas, or am I barking up the wrong operator?

--
Spring: Forces, Coiled Again!

Replies are listed 'Best First'.
Re: Re: Toggling between two values
by dragonchild (Archbishop) on May 06, 2003 at 18:50 UTC
    It won't work anymore than the other options. The reason is that the bi-stable operator doesn't reset itself. Cycles have to reset. :-)

    ------
    We are the carpenters and bricklayers of the Information Age.

    Don't go borrowing trouble. For programmers, this means Worry only about what you need to implement.

    Please remember that I'm crufty and crochety. All opinions are purely mine and all code is untested, unless otherwise specified.