Bitwiseand function – Multichannel Systems NeuroExplorer User Manual

Page 303

Advertising
background image

5.5.13.23. BitwiseAnd Function

BitwiseAnd Function


Returns the result of the bitwise AND operation.

Syntax


double BitwiseAnd(value1, value2)

Parameters

Parameter

Type

Description

value1

double

Numeric value.

value2

double

Numeric value.

Returns


Result of the bitwise AND operation.

Comments


value1 and value2 are converted to integers and then bitwise AND operation is applied to these
integers.

Usage

NexScript

x = BitwiseAnd(7, 1)

% x now equals to 1

See Also

Introduction to NexScript Programming

NexScript Function Categories

Page 301

Advertising