I think that >> is a bit shifting operation (which I haven't done in
YEARS). ColdFusion has BitSHLN() and BitSHRN() to hand left and right
bit shifting. That's about all the input I can give you. 


......................
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 2:10 PM
To: CF-Talk
Subject: another java question

What the heck does this do?

a += f * ((rgb >> 24) & 0xff);

a and f are floats, rgb is a float ... 0xff is obviously hex 255...

but how would I rewrite that in CF?

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:263564
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to