EcoResIntValue.compareTo Method
Compares this record against the specified record value.
Syntax
public int compareTo(EcoResValue _value)
Run On
Called
Parameters
- _value
Type: EcoResValue Table
The value definition that contains the integer value to which to compare this record.
Return Value
Type: int
-1 if the integer value in this record is less than the value in the given record; 0 if the integer values are identical; 1 if the integer value in this record is greater than the value in the given record.
Exceptions
Exception | Condition |
---|---|
Error | This record and the given record are not comparable as they are not of the same type. |