Ben Giddings <bg-rubytalk / infofiend.com> wrote in message news:<40C9E3EC.9090806 / infofiend.com>...
> I'm going to assume you really misunderstand and aren't trolling, 
> because even if you are trolling, maybe this explanation will come in 
> useful for someone else.

Of course I'm not trolling; don't be so touchy.

> 
> Conditional execution truth table:
> 
> parameter     | conditional executed
> ------------------------------------
> false         | no
> true          | yes
> nil           | no
> anything else | yes
> 
> And note, that 'anything else' includes some things that may surprise 
> people used to programming in C, including the number 0, an empty 
> string, an empty array, etc.
> 

Well, that does surprise me! But I'm often enough wrong to be used to
it. Now I don't understand why your program doesn't work, but mine
does. I'll think about it.

Remember The PP's tip #26 :)