OCLOperators at0
No edit summary
No edit summary
Line 1: Line 1:
Get the objects at X where the first index is 0
=== at ( index : Integer ) : T ===
Returns the element of ''self'' at the *index* position.
 
'''Note! 0-based index.'''
{| class="wikitable"
!Expression
!Result
|-
|Sequence{'a', 'b'}->at(1)
|a
|}
[[Category:OCLOperators]]
[[Category:OCLOperators]]

Revision as of 14:31, 18 November 2019

at ( index : Integer ) : T

Returns the element of self at the *index* position.

Note! 0-based index.

Expression Result
Sequence{'a', 'b'}->at(1) a
This page was edited 73 days ago on 02/10/2024. What links here