But that would fall out of bounds for his origional question which was what is the best way to test if all of the integers are equal. jsmith answered it I was entering a joke, hence the emoticon. Take another look I don't even test if any of the integers are the same in my line, so it doesn't even address the same question.
I know, I just wanted to point out to the OP that it doesn't work. We have no proof of any degree of skill from his side (no offense intended, erickulcyk). I just don't want people to use wrong code. If I offended you in any way, I'm sorry, I was just doing this for clarity's sake.
Sure, you're joking, only thing that needs pointing out is that you're comparing integers in the most inner ones, and then keep comparing bools. If all are equal, except for e and f, and f not being 8, it would return true.
@Kyon
Oh. you're right. And that's not the only problem. It would return true for a=0 b=0, c=5, d=5, e=f=8. I guess you really can't do this without repeating every variable twice..