Thread
:
Generic Coding Question
View Single Post
#
4
10-24-2008, 01:31 PM
Derision
Developer
Join Date: Feb 2004
Location: UK
Posts: 1,540
You're fine if one of the two operands is always zero, but you may get strange results if both are non-zero, e.g. 1 | 3 = 3, 1 | 4 = 5.
Derision
View Public Profile
Send a private message to Derision
Find all posts by Derision