Lua BitOps


Bit Operators

math.bit_and

 ( int a1 [, int a2 [, ... ] ] ) -> int i

math.bit_or

 ( int a1 [, int a2 [, ... ] ] ) -> int i

math.bit_xor

 ( int a1 [, int a2 [, ... ] ] ) -> int i

math.bit_inv

 ( int a1 ) -> int i

math.bit_bits (result = result | (1 << aX);)

 ( int a1 [, int a2 [, ... ] ] ) -> int i

Retrieved from "http://spring.clan-sy.com/wiki/Lua_BitOps"

This page has been accessed 222 times. This page was last modified 19:55, 27 October 2008.




Page editing toolbox

Browse
Main Page
Community portal
Current events
Recent changes
Random page
Help
Donations
Edit
View source
Editing help
This page
Discuss this page
Post a comment
Printable version
Context
Page history
What links here
Related changes
My pages
Log in
Special pages
New pages
File list
Statistics
Bug reports
More...

Site layout created by Roflcopter.