Inhalt

Index

BITSET

BITSET sets the b bit of x to 1 or 0 depending on the value of the specified expression, and returns the result.

Syntax

BITSET (x, b [, expr])

Parameters

x (integer): value

b (integer, ³ 0): place

expr (binary): 0 or 1

Remarks

Parameter value should be integer, returned value is integer.

Usable since script version 1.1 (Allplan 2012-1).



Allplan

(C) ALLPLAN GmbH

Privacy policy