Jiri wrote:

> Nice, that you took the time to write that post. It is much appreciated.

Thanks, Jiri.

One other thing worth mentioning is that an integer is actually 4 bytes, so
you have 32 bits. I kept my example to one byte for simplicity. If you want
to do operations on a single byte, you can use ByteArray elements.

Other bitwise operators to check out are XOR (exclusive OR, which means one
or the other is on, but not both) and shift operators >> and << to check the
value of a particular bit.

Cordially,

Kerry Thompson

_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to