|
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.
Two Object Repositories are equal if they are the same file.
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_ObjectRepository_comparison_021
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 aGor1 The first Object Repository to be compared ObjectRepository aGor1 The second Object Repository to be compared ObjectRepository
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?