|
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 Structures 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 Structures to compare equal, all symbolic keys and all values have to be
equal. The less-than < condition is satisfied only if the first Structure is less
than the second Structure. The greater-than > condition is satisfied only if the
first Structures is greater-than the second Structure.
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_Structure_comparison_003
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 struct1 The first Structure to be compared Structure struct2 The second Structure to be compared Structure
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?