Sign in Join
FPDoc Onlineexperiment

TBits.Get function

Member of TBitspublicIn unit Classes

Retrieve the value of a particular bit.

Declaration

pascal
function Get(Bit: SizeInt): Boolean

Description

Get returns True if the bit at position bit is set, or False if it is not set.

Errors

If bit is not a valid bit index then an EBitsError exception is raised.

See also

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