|
compareLT
|
Overview
The compareLT is the comparison function that can be used with this Data Type.
The resulting value is a Boolean value of true or false.
ObjectRepository
The compareLT is the comparison function that can be used with this Data Type.
The resulting value is a Boolean value of true or false. The Object Repository files
and NOT the file names are compared.
Void
The compareLT is the comparison functions that can be used with native data
types and Heap objects. The resulting value is a Boolean value of true or false.
The #void constant will always be less than any other value.
Usage
Use the compareLT function when you wish to compare two objects of the same Data Type and
determine if the first object is lesser than the second object and you wish the result to be expressed
as a Boolean value (true or false).
The alternative comparison function,compare,
only determines if two objects are equal, less than or greater than.
Syntax
Expression: |
(compareLT obj1 obj2 )
|
Arguments |
Name |
Type |
Description |
Argument: | obj1 | Void Boolean Character Number Date Function Complex |
First object to be compared. Must be a native data type. |
---|
Argument: | obj2 | Void Boolean Character Number Date Function Complex |
Second object to be compared. Must be a native data type. |
---|
Returns: |
Returns true if the first Object is lesser than the second Object and false
if the first Object is greater or equal in value than the second Object.
|
---|
Expression: |
(compareLT string1 string2 )
|
Arguments |
Name |
Type |
Description |
Argument: | string1 | String |
The first String to be compared |
---|
Argument: | string2 | String |
The second String to be compared |
---|
Returns: |
Returns true if the first String is lesser than the second String and false
if the first String is greater or equal in value than the second String.
|
---|
Expression: |
(compareLT sym1 sym2 )
|
Arguments |
Name |
Type |
Description |
Argument: | sym1 | Symbol |
The first Symbol to be compared |
---|
Argument: | sym2 | Symbol |
The second Symbol to be compared |
---|
Returns: |
Returns true if the first Symbol is lesser than the second Symbol and false
if the first Symbol is greater or equal in value than the second Symbol.
|
---|
Expression: |
(compareLT struct1 struct2 )
|
Arguments |
Name |
Type |
Description |
Argument: | struct1 | Structure |
The first Structure to be compared |
---|
Argument: | struct2 | Structure |
The second Structure to be compared |
---|
Returns: |
Returns true if the first Structure is lesser than the second Structure and false
if the first Structure is greater or equal in value than the second Structure.
|
---|
Expression: |
(compareLT dict1 dict2 )
|
Arguments |
Name |
Type |
Description |
Argument: | dict1 | Dictionary |
The first Dictionary to be compared |
---|
Argument: | dict2 | Dictionary |
The second Dictionary to be compared |
---|
Returns: |
Returns true if the first Dictionary is lesser than the second Dictionary and false
if the first Dictionary is greater or equal in value than the second Dictionary.
|
---|
Expression: |
(compareLT dir1 dir2 )
|
Arguments |
Name |
Type |
Description |
Argument: | dir1 | Directory |
The first Directory to be compared |
---|
Argument: | dir2 | Directory |
The second Directory to be compared |
---|
Returns: |
Returns true if the first Directory is lesser than the second Directory and false
if the first Directory is greater or equal in value than the second Directory.
|
---|
Expression: |
(compareLT vector1 vector2 )
|
Arguments |
Name |
Type |
Description |
Argument: | vector1 | Vector |
The first Vector to be compared |
---|
Argument: | vector2 | Vector |
The second Vector to be compared |
---|
Returns: |
Returns true if the first Vector is lesser than the second Vector and false
if the first Vector is greater or equal in value than the second Vector.
|
---|
Expression: |
(compareLT fltvector1 fltvector2)
|
Arguments |
Name |
Type |
Description |
Argument: | fltvector1 | FltVector |
The first FltVector to be compared |
---|
Argument: | fltvector2 | FltVector |
The second FltVector to be compared |
---|
Returns: |
Returns true if the first Vector is lesser than the second Vector and false
if the first Vector is greater or equal in value than the second Vector.
|
---|
Expression: |
(compareLT intvector1 intvector2)
|
Arguments |
Name |
Type |
Description |
Argument: | intvector1 | IntVector |
The first IntVector to be compared |
---|
Argument: | intvector2 | IntVector |
The second IntVector to be compared |
---|
Returns: |
Returns true if the first Vector is lesser than the second Vector and false
if the first Vector is greater or equal in value than the second Vector.
|
---|
Expression: |
(compareLT shortvector1 shortvector2)
|
Arguments |
Name |
Type |
Description |
Argument: | shortvector1 | ShortVector |
The first ShortVector to be compared |
---|
Argument: | shortvector2 | ShortVector |
The second ShortVector to be compared |
---|
Returns: |
Returns true if the first Vector is lesser than the second Vector and false
if the first Vector is greater or equal in value than the second Vector.
|
---|
Expression: |
(compareLT numvector1 numvector2)
|
Arguments |
Name |
Type |
Description |
Argument: | numvector1 | NumVector |
The first NumVector to be compared |
---|
Argument: | numvector2 | NumVector |
The second NumVector to be compared |
---|
Returns: |
Returns true if the first Vector is lesser than the second Vector and false
if the first Vector is greater or equal in value than the second Vector.
|
---|
Expression: |
(compareLT objvector1 objvector2)
|
Arguments |
Name |
Type |
Description |
Argument: | objvector1 | ObjVector |
The first ObjVector to be compared |
---|
Argument: | objvector2 | ObjVector |
The second ObjVector to be compared |
---|
Returns: |
Returns true if the first Vector is lesser than the second Vector and false
if the first Vector is greater or equal in value than the second Vector.
|
---|
Expression: |
(compareLT bitvector1 bitvector2)
|
Arguments |
Name |
Type |
Description |
Argument: | bitvector1 | BitVector |
The first BitVector to be compared |
---|
Argument: | bitvector2 | BitVector |
The second BitVector to be compared |
---|
Returns: |
Returns true if the first Vector is lesser than the second Vector and false
if the first Vector is greater or equal in value than the second Vector.
|
---|
Expression: |
(compareLT brick1 brick2 )
|
Arguments |
Name |
Type |
Description |
Argument: | brick1 | Brick |
The first Brick to be compared |
---|
Argument: | brick2 | Brick |
The second Brick to be compared |
---|
Returns: |
Returns true if the first Brick is lesser than the second Brick and false
if the first Brick is greater or equal in value than the second Brick.
|
---|
Expression: |
(compareLT matrix1 matrix2 )
|
Arguments |
Name |
Type |
Description |
Argument: | matrix1 | Matrix |
The first Matrix to be compared |
---|
Argument: | matrix2 | Matrix |
The second Matrix to be compared |
---|
Returns: |
Returns true if the first Matrix is lesser than the second Matrix and false
if the first Matrix is greater or equal in value than the second Matrix.
|
---|
Expression: |
(compareLT nummatrix1 nummatrix2 )
|
Arguments |
Name |
Type |
Description |
Argument: | nummatrix1 | NumMatrix |
The first NumMatrix to be compared |
---|
Argument: | nummatrix2 | NumMatrix |
The second NumMatrix to be compared |
---|
Returns: |
Returns true if the first NumMatrix is lesser than the second NumMatrix and false
if the first NumMatrix is greater or equal in value than the second NumMatrix.
|
---|
Expression: |
(compareLT pair1 pair2 )
|
Arguments |
Name |
Type |
Description |
Argument: | pair1 | Pair |
The first Pair to be compared |
---|
Argument: | pair2 | Pair |
The second Pair to be compared |
---|
Returns: |
Returns true if the first Pair is lesser than the second Pair and false
if the first Pair is greater or equal in value than the second Pair.
|
---|
Expression: |
(compareLT list1 list2 )
|
Arguments |
Name |
Type |
Description |
Argument: | list1 | List |
The first List to be compared |
---|
Argument: | list2 | List |
The second List to be compared |
---|
Returns: |
Returns true if the first List is lesser than the second List and false
if the first List is greater or equal in value than the second List.
|
---|
Expression: |
(compareLT Lambda1 Lambda1 )
|
Arguments |
Name |
Type |
Description |
Argument: | Lambda1 | Lambda |
The first Lambda to be compared |
---|
Argument: | Lambda2 | Lambda |
The second Lambda to be compared |
---|
Returns: |
Returns true if the first Lambda is lesser than the second Lambda and false
if the first Lambda is greater or equal in value than the second Lambda.
|
---|
Expression: |
(compareLT gor1 gor2 )
|
Arguments |
Name |
Type |
Description |
Argument: | gor1 | ObjectRepository |
The first Object Repository to be compared |
---|
Argument: | gor2 | ObjectRepository |
The second Object Repository to be compared |
---|
Returns: |
Returns true if the first Object Repository is lesser than the second Object Repository and false
if the first Object Repository is greater or equal in value than the second Object Repository .
|
---|
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.
Here are also a number of links to functions having arguments with any of these data types.
|
Analytic Information Server (AIS)
AIS Component Systems
- Smartbase Engine
- QT C++ Libraries
- MySQL Relational Database
- AIS Lisp Libraries
- Rapid Analytic Demo IDE
|