Previous Topic: ANDBITS Function--Perform a Bitwise AND Operation

Next Topic: AT Function--Is User at Specified LDAP DN

ANY Function--Any Bits Set

The ANY function accepts two numbers and returns a TRUE if any of the bits that are set in the second number are also set in the first number.

Syntax

The ANY function has the following format:

ANY(number1, number2)

Parameters

The ANY function accepts the following parameters:

number1 (number)

number2 (number)

Return Value

The ANY function returns a Boolean value.

Example

Return_value=ANY(7, 2)
Return_value=TRUE

Return_value=ANY(7, 15)
Return_value=TRUE

More information:

ALL Function--All Bits Set


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