Sign in Join
FPDoc Onlineexperiment

TBits.OpenBit function

Member of TBitspublicIn unit Classes

Returns the position of the first bit that is set to False.

Declaration

pascal
function OpenBit: SizeInt

Description

OpenBit returns the position of the first bit whose value is 0 ( False), or -1 if no open bit was found. This call is equivalent to FindFirstBit(False), except that it doesn't set the position for the next searches.

Errors

None.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.