ClassesClasses | | Operators

tuple_lengthtuple_lengthTupleLengthTupleLength (Operator)

Name

tuple_lengthtuple_lengthTupleLengthTupleLength — Return the number of elements of a tuple.

Signature

tuple_length( : : Tuple : Length)

Herror tuple_length(const Hlong Tuple, Hlong* Length)

Herror T_tuple_length(const Htuple Tuple, Htuple* Length)

void TupleLength(const HTuple& Tuple, HTuple* Length)

HTuple HTuple::TupleLength() const

static void HOperatorSet.TupleLength(HTuple tuple, out HTuple length)

HTuple HTuple.TupleLength()

Description

tuple_lengthtuple_lengthTupleLengthTupleLengthTupleLength returns the number of elements of the input tuple TupleTupleTupleTupletuple.

Exception: Empty input tuple

If the input tuple is empty, the operator returns 0.

HDevelop In-line Operation

HDevelop provides an in-line operation for tuple_lengthtuple_lengthTupleLengthTupleLengthTupleLength, which can be used in an expression in the following syntax:

Length := |Tuple|

Execution Information

Parameters

TupleTupleTupleTupletuple (input_control)  number(-array) HTupleHTupleHtuple (integer / real / string) (int / long / double / string) (Hlong / double / HString) (Hlong / double / char*)

Input tuple.

LengthLengthLengthLengthlength (output_control)  number HTupleHTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Number of elements of input tuple.

Alternatives

tuple_mintuple_minTupleMinTupleMinTupleMin, tuple_maxtuple_maxTupleMaxTupleMaxTupleMax, tuple_meantuple_meanTupleMeanTupleMeanTupleMean, tuple_deviationtuple_deviationTupleDeviationTupleDeviationTupleDeviation, tuple_sumtuple_sumTupleSumTupleSumTupleSum, tuple_mediantuple_medianTupleMedianTupleMedianTupleMedian

See also

tuple_typetuple_typeTupleTypeTupleTypeTupleType

Module

Foundation


ClassesClasses | | Operators