[Tutor] How to verify all things are equal to one another

Max Noel maxnoel_fr at yahoo.fr
Sun May 15 13:23:40 CEST 2005


On May 15, 2005, at 06:54, Terry Carroll wrote:

> if (a == b &
>     a == c &
>     a == d &
>     a == e &
>     a == f &
>     a == g):
>     do stuff
>

     Well, you can already try this:

if a == b == c == d == e == f == g:
     do stuff

-- Max
maxnoel_fr at yahoo dot fr -- ICQ #85274019
"Look at you hacker... A pathetic creature of meat and bone, panting  
and sweating as you run through my corridors... How can you challenge  
a perfect, immortal machine?"



More information about the Tutor mailing list