>- see footer for list info -<
Post some code to explain mate

I think there might be an easy way to do what you want

Cheers
Mark 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of dominic watson
Sent: 25 October 2005 17:32
To: Coldfusion Development
Subject: [CF-Dev] Bitwise operators

>- see footer for list info -<
There aren't any in CF are there? I am interested to know as I would like to
implement a system for setting flags for multiple options.
i.e. options are assigned flag values of 1,2,4,8,16,32,etc. Every possible
combination of selections would product a different integer result when
added together, thus you can have one field that stores all multiple
selections. All that is needed is methods to extract lists of flag values,
or check the presence of a flag, etc.

Anyone know of a UDF (couldnt see one on cflib), or CF function that does
this or should i write one?

Dominic
_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to
http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-
>- Hosting provided by www.cfmxhosting.co.uk -<
>- Forum provided by www.fusetalk.com -<
>- DHTML Menus provided by www.APYCOM.com -<
>- Lists hosted by www.Gradwell.com -<
>- CFdeveloper is run by Russ Michaels, feel free to volunteer your help 
>-<




_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to 
http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-
>- Hosting provided by www.cfmxhosting.co.uk -<
>- Forum provided by www.fusetalk.com -<
>- DHTML Menus provided by www.APYCOM.com -<
>- Lists hosted by www.Gradwell.com -<
>- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<

Reply via email to