If you are OR'ing or AND'ing a bunch of bits, the order shouldn't matter. You can do it however makes it more readable. The only time that you have to be careful is when you are mixing ORs and ANDs. When you do that, the order becomes very important.
...................... Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com/ask-ben/ -----Original Message----- From: Rick Root [mailto:[EMAIL PROTECTED] Sent: Monday, December 11, 2006 3:15 PM To: CF-Talk Subject: Re: another java question Here's another related question. let's say I've got this in java: a = b | c | d | e; Those are bitwise inclusive or operations. so... I think the order of operations here is left to right ... or maybe irrelevant... so do I do this? a = bitOr(bitOr(bitOr(b,c),d),e); Rick ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Create robust enterprise, web RIAs. Upgrade & integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:263594 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4