??? 06/12/07 17:45 Modified: 06/12/07 18:01 Read: times |
#140614 - Not Broken Responding to: ???'s previous message |
jeff said:
r isn't initialized. Same for Jan's and Russ' solutions. If you tried this code and it worked, it's a fluke of the compiler. It appears that way, doesn't it. But look a little closer and you'll see that r's initial value (whatever is is) is completely shifted out the left and into the bit bucket before the function returns. Hence, neither initialization nor compiler flukes :-) are required. -- Russ |