Previous Topic: NUMBER Function--Convert to a Numeric Value

Next Topic: PARENTDN Function--Retrieve Parent in LDAP Tree

ORBITS Function--Perform a Bitwise OR Operation

The ORBITS function performs a bitwise OR operation on its two arguments.

Syntax

The ORBITS function has the following format:

ORBITS(int_1, int_2)

Parameters

The ORBITS function accepts the following parameters:

int_1 (number)

int_2 (number)

Return Value

The ORBITS function returns a number.

Examples

Result_value=ORBITS(6, 1)
Result_value=7

Result_value=ORBITS(7, 8)
Result_value=15

More information:

ANDBITS Function--Perform a Bitwise AND Operation

NOTBITS Function--Perform a Bitwise NOT

XORBITS Function--Perform a Bitwise XOR Operation


Copyright © 2010 CA. All rights reserved. Email CA about this topic