[Overview][Constants][Types][Classes][Procedures and functions][Variables] | Reference for unit 'Classes' (#rtl) |
Turn a particular bit on.
Source position: classesh.inc line 278
public procedure TBits.SetOn( |
Bit: LongInt |
); |
SetOn turns on the bit at position bit, i.e. sets it to 1. If bit is at a position bigger than the current size, the collection is expanded to the required size using Grow.
If bit is larger than the maximum allowed bits array size or is negative, an EBitsError exception is raised.
|
Access to all bits in the array. |
|
|
Clears a particular bit. |
No notes exist for this page yet.