compare
const func integer: compare (in reference: ref1, in reference: ref2)
-
Compare two references.
- Returns:
- -1, 0 or 1 if the first argument is considered to be respectively less than, equal to, or greater than the second.
hashCode
const func integer: hashCode (in reference: aReference)
-
Compute the hash value of a reference.
- Returns:
- the hash value.
str
const func string: str (ref reference: aReference)
-
Convert a reference to a string.
- Returns:
- the string result of the conversion.
- Raises:
- MEMORY_ERROR - Not enough memory to represent the result.
setType
const proc: setType (in reference: aReference, in type: aType)
-
Set the type of the object 'aReference' to 'aType'.
- Raises:
- RANGE_ERROR - If 'aReference' is NIL.