tuple_last_n ( : : Tuple, Index : Selected )

Select all elements from index ``n'' to the end of a tuple.

Starting with the ``n-th'' element of the tuple Tuple, tuple_last_n selects every element of Tuple and returns it with Selected. Thus Selected contains all elements of Tuple from index ``n'' up to the last element of Tuple (including the element at position ``n''). The index ``n'' is determined by the input parameter Index. Thus Index must contain a single integer value (if Index consists of a floating point number, this must represent an integer value without fraction). Indices of tuple elements start at 0, that means, the first tuple element has got the index 0.


Parameters

Tuple (input_control)
number(-array) -> integer / real / string
Input tuple.

Index (input_control)
number -> integer / real
Index of the first element to select.

Selected (output_control)
number(-array) -> integer / real / string
Selected tuple elements.


Parallelization Information

tuple_last_n is reentrant and processed without parallelization.


Alternatives

tuple_first_n, tuple_select, tuple_str_bit_select, tuple_concat


Module

Operators not requiring licensing



Copyright © 1996-2005 MVTec Software GmbH