Previous Topic: AFTER Function--Find a String

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

ALL Function--All Bits Set

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

Syntax

The ALL function has the following format:

ALL(number1, number2)

Parameters

The ALL function accepts the following parameters:

number1 (number)

number2 (number)

Return Value

The ALL function returns a Boolean value.

Example

Return_value=ALL(7, 2)
Return_value=TRUE

Return_value=ALL(7, 15)
Return_value=FALSE

More information:

ANY Function--Any Bits Set


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