Carbon


BitOr

Header: ToolUtils.h Carbon status: Supported

Performs the OR logical operation on two long words.

SInt32 BitOr (
    SInt32 value1, 
    SInt32 value2
);
value1

A long word.

value2

A long word.

function result

A long word that is the result of the OR operation on the long words passed as arguments. Each bit in the returned value is set if and only if the corresponding bit is set in value1 or value2, or in both value1 and value2.

AVAILABILITY

Supported in Carbon. Available in CarbonLib 1.0 and later when InterfaceLib 7.1 or later is installed. Exported by CarbonLib 1.0 and later and by InterfaceLib 7.1 and later.


© 2000 Apple Computer, Inc. — (Last Updated 4/14/2000)