Skip to content

Category Bit Manipulation

Paul Squires edited this page Oct 19, 2026 · 2 revisions

Home › All Categories › Bit Manipulation

Bit Manipulation

Grouped by task. Numbers and math lists them beside the rest of the area.

Read and set bits and bytes

Function What it does From
Bit Returns -1 if the numbered bit of an integer is set, or 0 if it is clear. built-in
BitSet Returns a copy of an integer with the numbered bit set to 1. built-in
BitReset Returns a copy of an integer with the numbered bit cleared to 0. built-in
LoByte Returns the lowest byte of a number, bits 0 to 7. built-in
HiByte Returns the second byte of a number, bits 8 to 15. built-in
LoWord Returns the lowest 16 bits of a number. built-in
HiWord Returns bits 16 to 31 of a number. built-in

Also in this category


Home · Keyword Index

Clone this wiki locally