bcompareLE

 

 

Overview

The bcompareLE is a fast comparison function that assume that its operands are Boolean values. The resulting value is a Boolean value of true or false. The operands are not checked and are not coerced.

Usage

Use the bcompareLE function when you wish to compare two booleans and determine if {bool1} lesser than or equal to {bool2} and you wish the result to be expressed as a Boolean value (true or false). These functions only operate on Boolean operands. For a more general, but slower, comparison, use the compareEQ, compareNE, compareGT, compareGE, compareLT, and compareLE which performs type checking and type conversions.

 

Syntax


Expression: (compareLE bool1 bool2 )

Arguments Name Type Description
Argument:bool1Boolean The first Boolean to be compared
Argument:bool2Boolean The second Boolean to be compared

Returns:

Returns true if the first Boolean is lesser than or equal to the second Boolean and false if the first Boolean is greater in value than the second Boolean.



 

Examples

Here are a number of links to Lambda coding examples which contain this instruction in various use cases.

 

Argument Types

Here are the links to the data types of the function arguments.

Boolean

Here are also a number of links to functions having arguments with any of these data types.

abortTransaction addMethod badd bcompareEQ
bcompareGE bcompareGT bcompareLE bcompareLT
bcompareNE bdiv beginTransaction binaryInsert
binaryNand binaryNor binaryNot binaryNxor
binarySearch bitwiseAnd bitwiseNand bitwiseNor
bitwiseNot bitwiseNxor bitwiseOr bitwiseShiftLeft
bitwiseShiftRight bitwiseXor bmod bmul
boolean ccompareEQ ccompareGE ccompareGT
ccompareLE ccompareLT ccompareNE character
checkPointTransaction clear commitTransaction compareEQ
compareGE compareGT compareLE compareLT
compareNE compare comparison compile
cons debug disassemble display
exportCsv exportSbf exportTab fdisplay
fileClose fileCopy fileDir fileDisplay
fileErase fileOpen fileRead fileWrite
filewriteln findBlock gc icompareEQ
icompareGE icompareGT icompareLE icompareLT
icompareNE importCsv importSbf importTab
inside inspect integer isAtom
isBitVector isBoolean isBound isByteVector
isCharAlphabetic isCharAlphanumeric isCharLowercase isCharName
isCharNumeric isCharUppercase isCharWhitespace isCharacter
isComplex isDate isDirectory isEqual
isError isEven isExact isFloatVector
isIdentical isImmediate isInexact isInside
isIntegerVector isInteger isMatrix isMember
isMoney isNegative isNull isNumberMatrix
isNumberVector isNumber isObjectVector isObject
isOdd isPair isPcodeVector isPositive
isTransaction isType isVector isZero
length lisp list loadModule
loadWorkspace logConsole macroReplace makeQuotedList
member money morph ncompareEQ
ncompareGE ncompareGT ncompareLE ncompareLT
ncompareNE new number onError
pair quit ref remove
rename reset saveModule saveObject
saveWorkspace setBlock setCar set
setf setq sizeof sort
stringCiEQ stringCiGE stringCiGT stringCiLE
stringCiLT stringCiNE substringCiEQ substringCiGE
substringCiGT substringCiLE substringCiLT substringCiNE
substringEQ substringGE substringGT substringLE
substringLT substringNE systemCheck vectorFill
version writelg writeln

Analytic Information Server (AIS)

AIS Component Systems

  • Smartbase Engine
  • QT C++ Libraries
  • MySQL Relational Database
  • AIS Lisp Libraries
  • Rapid Analytic Demo IDE