If you use separate bits for each option than you don't need XOR, you can just add them up
NOVISBLE+NOICON+SOUND
>I don´t know if this is the right forum.... here it goes:
>
>I want to create a list of properties that will work like VFoxPro messagebox -example- variables, with numbers that combined with XOR operations, etc give me a coherent result.
>
>So, the programmer will write NOVISBLE+NOICON+SOUND and it will work... and so on...
>
>Any little idea will be appreciated.
>I know that can be achieved with BIT XOR operations and related, but I´m quite stuck.
>
>Pablo Velazco
--sb--