TBits.SetOn procedure
Turn a particular bit on.
Declaration
procedure SetOn(Bit: SizeInt)Description
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.Errors
If
bit is larger than the maximum allowed bits array size or
is negative, an
EBitsError exception is raised.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
