SETBIT (FUN)

FUNCTION SETBIT : BOOL

Sets the value of bit at position N of variable X to B

InOut:

Scope

Name

Type

Comment

Return

SETBIT

BOOL

Input

X

__SYSTEM.AnyType

Variable to be modified

N

BYTE

Bitnummer 0…(to size of datatype)

B

BOOL

Desired value of the bit