On Wed, May 22, 2002 at 03:36:06PM -0400, Patrick Gaskill wrote:
> What about...
> 
>    $a--&&do{do_something()};
> 
> If $a isn't 1, you could do this, too:
> 
>    $a&&($a=0)||do{do_something()};
> 
> Right? I'm surprised noone's mentioned it, unless I'm missing something...

These statements unconditionally alter $a (unless _I'm_ missing
something). $a should only be set to 0/false iff $a is 1/true.

Scott
-- 
Scott Wiersdorf
[EMAIL PROTECTED]

Reply via email to