Ben Nadel wrote:
> 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. 

That's helful.... so now I'm faced with this:

r += f * ((rgb >> 16) & 0xff);

now:

somevar = BitSHRN(rgb, 16);
r = r + somevar & 0xff;

I'm guessing that's a bitAnd ... so maybe this would work:

r = r + bitAnd(somevar,255);

but I may not figure out if it works until tomorrow.. I'll try to 
remember to post =)

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:263574
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