Herror ::tuple_last_n (
    const HTuple &Tuple,
    const HTuple &Index,
    long *Selected
)
Herror ::tuple_last_n (
    const HTuple &Tuple,
    const HTuple &Index,
    HTuple *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) -> HTuple.long / double / char *
Input tuple.

Index (input_control)
number -> HTuple.long / double
Index of the first element to select.

Selected (output_control)
number(-array) -> (HTuple.) long * / double * / char *
Selected tuple elements.


Alternatives

::tuple_first_n, ::tuple_select, ::tuple_str_bit_select, ::tuple_concat


Module

Operators not requiring licensing



Copyright © 1996-2002 MVTec Software GmbH