ccompareLT

 

 

Overview

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

Usage

Use the ccompareLT function when you wish to compare two Characters and determine if {char1} is lesser than {char2} 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: (ccompareLT char1 char2 )

Arguments Name Type Description
Argument:char1Character The first Character to be compared
Argument:char2Character The second Character to be compared

Returns:

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



 

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.

Character 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 cadd ccompareEQ ccompareGE
ccompareGT ccompareLE ccompareLT ccompareNE
cdiv character checkPointTransaction clear
cmod cmul commitTransaction compareEQ
compareGE compareGT compareLE compareLT
compareNE compare comparison compile
cons count csub debug
disassemble display downcase 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 isChar isCharacter
isComplex isDate isDictionary isDirectory
isEqual isError isEven isExact
isFloatVector isIdentical isImmediate isInexact
isInside isIntegerVector isInteger isLambda
isMatrix isMember isMoney isNegative
isNull isNumberMatrix isNumberVector isNumber
isObjectVector isObject isOdd isPair
isPcodeVector isPositive isString isStructure
isSymbol isText 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 parent
parse quit ref remove
rename reset saveModule saveObject
saveWorkspace setBlock setCar setCdr
setLastCdr set setf setq
sizeof sort stringCiEQ stringCiGE
stringCiGT stringCiLE stringCiLT stringCiNE
stringToBVector stringToVector string substringCiEQ
substringCiGE substringCiGT substringCiLE substringCiLT
substringCiNE substringEQ substringGE substringGT
substringLE substringLT substringNE systemCheck
type uniqueInsert upcase 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