ClassesClassesClassesClasses | | | | Operators

tuple_last_ntuple_last_nTupleLastNtuple_last_nTupleLastNTupleLastN (Operator)


tuple_last_ntuple_last_nTupleLastNtuple_last_nTupleLastNTupleLastN — Select all elements from index “n” to the end of a tuple.


tuple_last_n( : : Tuple, Index : Selected)

Herror tuple_last_n(const Hlong Tuple, const Hlong Index, Hlong* Selected)

Herror T_tuple_last_n(const Htuple Tuple, const Htuple Index, Htuple* Selected)

Herror tuple_last_n(const HTuple& Tuple, const HTuple& Index, Hlong* Selected)

Herror tuple_last_n(const HTuple& Tuple, const HTuple& Index, HTuple* Selected)

void TupleLastN(const HTuple& Tuple, const HTuple& Index, HTuple* Selected)

HTuple HTuple::TupleLastN(const HTuple& Index) const

void HOperatorSetX.TupleLastN(
[in] VARIANT Tuple, [in] VARIANT Index, [out] VARIANT* Selected)

VARIANT HTupleX.TupleLastN(
[in] VARIANT Tuple, [in] VARIANT Index)

static void HOperatorSet.TupleLastN(HTuple tuple, HTuple index, out HTuple selected)

HTuple HTuple.TupleLastN(HTuple index)


Starting with the “n-th” element of the tuple TupleTupleTupleTupleTupletuple, tuple_last_ntuple_last_nTupleLastNtuple_last_nTupleLastNTupleLastN selects every element of TupleTupleTupleTupleTupletuple and returns it with SelectedSelectedSelectedSelectedSelectedselected. Thus, SelectedSelectedSelectedSelectedSelectedselected contains all elements of TupleTupleTupleTupleTupletuple from index “n” up to the last element of TupleTupleTupleTupleTupletuple (including the element at position “n”). The index “n” is determined by the input parameter IndexIndexIndexIndexIndexindex. Thus, IndexIndexIndexIndexIndexindex must contain a single integer value (if IndexIndexIndexIndexIndexindex 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.



TupleTupleTupleTupleTupletuple (input_control)  number(-array) HTupleHTupleHTupleVARIANTHtuple (integer / real / string) (int / long / double / string) (Hlong / double / HString) (Hlong / double / char*) (Hlong / double / BSTR) (Hlong / double / char*)

Input tuple.

IndexIndexIndexIndexIndexindex (input_control)  number HTupleHTupleHTupleVARIANTHtuple (integer / real) (int / long / double) (Hlong / double) (Hlong / double) (Hlong / double) (Hlong / double)

Index of the first element to select.

SelectedSelectedSelectedSelectedSelectedselected (output_control)  number(-array) HTupleHTupleHTupleVARIANTHtuple (integer / real / string) (int / long / double / string) (Hlong / double / HString) (Hlong / double / char*) (Hlong / double / BSTR) (Hlong / double / char*)

Selected tuple elements.


tuple_first_ntuple_first_nTupleFirstNtuple_first_nTupleFirstNTupleFirstN, tuple_selecttuple_selectTupleSelecttuple_selectTupleSelectTupleSelect, tuple_str_bit_selecttuple_str_bit_selectTupleStrBitSelecttuple_str_bit_selectTupleStrBitSelectTupleStrBitSelect, tuple_concattuple_concatTupleConcattuple_concatTupleConcatTupleConcat, tuple_select_masktuple_select_maskTupleSelectMasktuple_select_maskTupleSelectMaskTupleSelectMask

See also




ClassesClassesClassesClasses | | | | Operators