|
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 Vectors 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).
For two Vectors to compare equal, all values have to be
equal. The less-than < condition is satisfied only if the first Vector is less
than the second Vector. The greater-than > condition is satisfied only if the
first Vector is greater-than the second Vector.
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.
Example_Function_comparison_012
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 obj1 First object to be compared. Must be a native data type. Void Character Date Complex obj2 Second object to be compared. Must be a native data type. Void Character Date Complex
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?