compareTo
Short summary
This method compares a foreign object with the own one, this is needed for sort orders.
Return:SMALLER: THIS precedes in order,
EQUAL: THIS and object at the same position in order,
GREATER: THIS is after in order.
- Return type: CNM_ReturnTypes.ComparationResult
Parameters
| Name | Type | Comment | Kind |
|---|---|---|---|
| object | IObject | foreign objet to compare | input |
Code
Declaration
METHOD compareTo :CNM_ReturnTypes.ComparationResult
VAR_INPUT
(* foreign objet to compare*)
object :IObject;
END_VAR