Difference between revisions of "Bit (API)"

From ComputerCraft Wiki
Jump to: navigation, search
Line 2: Line 2:
  
 
A list of functions:
 
A list of functions:
* bit.bnot(n)
+
{| border="1" cellpadding="2" cellspacing="0"
* bit.band(m, n)
+
!style="background:#EEE" width="200px"|Method name
* bit.bor(m, n)
+
!style="background:#EEE" width="*"|Description
* bit.bxor(m, n)
+
|-
* bit.brshift(n, bits)
+
|bit.tobits(n)
* bit.blshift(n, bits)
+
|<no description given>
* bit.tobits(n)
+
|-
* bit.tobits(n)
+
|bit.blshift(n, bits)
* bit.tonumb(bit_tbl)
+
|<no description given>
 +
|-
 +
|bit.brshift(n, bits)
 +
|<no description given>
 +
|-
 +
|bit.bxor(m, n)
 +
|<no description given>
 +
|-
 +
|bit.bor(m, n)
 +
|<no description given>
 +
|-
 +
|bit.band(m, n)
 +
|<no description given>
 +
|-
 +
|bit.bnot(n)
 +
|<no description given>
 +
|-
 +
|bit.tonumb(bit_tbl)
 +
|<no description given>
 +
|}
  
 
[[Category:APIs]]
 
[[Category:APIs]]

Revision as of 05:26, 31 January 2012

The Bit API is for manipulating bits of variables.

A list of functions:

Method name Description
bit.tobits(n) <no description given>
bit.blshift(n, bits) <no description given>
bit.brshift(n, bits) <no description given>
bit.bxor(m, n) <no description given>
bit.bor(m, n) <no description given>
bit.band(m, n) <no description given>
bit.bnot(n) <no description given>
bit.tonumb(bit_tbl) <no description given>