Skip to main content

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.

Parameters

NameTypeCommentKind
objectIObjectforeign objet to compareinput

Code

Declaration

METHOD compareTo :CNM_ReturnTypes.ComparationResult
VAR_INPUT
(* foreign objet to compare*)
object :IObject;
END_VAR