GETBIT (FUN)

FUNCTION GETBIT : BOOL

Returns the bit value at position N of value X

Ein-/Ausgänge:

Gültigkeitsbereich

Name

Typ

Kommentar

Return

GETBIT

BOOL

Eingang

X

LWORD

Variable from which the bit is chosen, value has to be unsigned

N

BYTE

The bitnumer 0…(size of datatype)