|
comparison
|
The =, <> ,<, <=, >, >= functions are equivalent to compareEQ, compareNE,
compareGT, compareGE, compareLT, and compareLE comparison functions.
The resulting value is a Boolean value of true if the relational operator results in a true comparison otherwise the resulting value is false.
When to use Use the comparison functions when you wish to compare two objects of the same Data Type and determine if
they are equal, not equal, less than, less than or equal to, greater than, greater
than or equal to and you wish the result to be expressed as a Boolean value
(true or false). The comparison functions are case-sensitive. For case-insensitive
comparisons see the StringCiEQ, StringCiNE, etc. functions.
If you prefer an integer resulting from the comparison
(0 for equal, -1 for less than, and 1 for greater than), use the compare function.
Returns true if the comparison is true, false if the comparison is false.
Here are a number of links to Lambda coding examples which contain this instruction in various use cases.
Here are the links to the data types of the function arguments. Here are also a number of links to functions having arguments with any of these data types.
You can always talk with the AIS at aiserver.sourceforge.net.
Name
Description
AIS Types string1 The first String to be compared String string2 The second String to be compared String
Returns:
Examples
Argument Types
String
Symbol
Structure
Dictionary
Directory
Brick
Vector
Boolean
Void
NumVector
FltVector
IntVector
ShortVector
NumVector
ObjVector
BitVector
ObjectRepository
How do I contact the AIS team?