Returns the last value in the underlying hash object.
Applies to: | Hash iterator object |
specifies whether the method succeeded or failed.
specifies the name of the hash iterator object.
ordered:
'yes'
or ordered: 'ascending'
argument
tag in the DECLARE statement or _NEW_ operator when you instantiate
the hash object, then the data item that is returned is the one with
the 'highest' key (largest numeric value or last alphabetic
character), because the data items are sorted in ascending key-value
order in the hash object. Conversely, if you use the ordered:
'descending'
argument tag in the DECLARE
statement or _NEW_ operator when you instantiate the hash object,
then the data item that is returned is the one with the 'least'
key (smallest numeric value or first alphabetic character), because
the data items are sorted in descending key-value order in the hash
object.