in reply to Re: while 's 'continue' block
in thread while 's 'continue' block

I'm falling a little short of understanding how you're using the term 'express', but the -p switch is very cool!

coreolyn

Replies are listed 'Best First'.
Re: Re: Re: while 's 'continue' block
by I0 (Priest) on Jan 05, 2001 at 04:38 UTC
    quoth the 1st Camel, on pg. 96, and the 2nd Camel, on pg. 99: <it>
    for ($I = 1; $i < 10; $i++) { ... }
    is the same as
    $i = 1; while( $i < 10) { ... } continue { $i++; }
    Personally, I like the symmetry it gives the language.
    (if only it had an elswhile clause to complete the symmetry...)

      An elsewhile would add symmetry but wouldn't a meanwhile be more fun?:)

      Thanks for the follow-up,

      coreolyn