Transform Reference Guide

'<< (left shift), '>> (right shift),
'?& (bitwise AND), '?| (bitwise OR), '?^ (bitwise XOR)

Synchronous bitwise operators

Syntax

'<<
'>>
'?&
'?|
'?^

Options

Inlets

Outlets

Comments

These operators implement the low-level bitwise functions found in languages like C. The symbols of the bitwise and, or and xor operators has been altered because the corresponding symbols in C are reserved in OSW for more frequently used operations.

The bitwise operators currently only operate on Integers.

These operators only output a result when new values have been received by both inlets. Thus, if a new value is received by param1, no result will be computed until a value is received by param2 as well. If this is not the behavior you want, try the regular (asynchronous) bitwise operators instead.

See Also

<<, >>, ?&, ?|, ?^
Expr

Open Sound World User Guide
© 2000-2004 Amar Chaudhary. All rights reserved.