tuple_equaltuple_equalTupleEqualTupleEqual (Operator)


tuple_equaltuple_equalTupleEqualTupleEqual — Test whether two tuples are equal.


tuple_equal( : : T1, T2 : Equal)

Herror tuple_equal(const Hlong T1, const Hlong T2, Hlong* Equal)

Herror T_tuple_equal(const Htuple T1, const Htuple T2, Htuple* Equal)

void TupleEqual(const HTuple& T1, const HTuple& T2, HTuple* Equal)

HTuple HTuple::TupleEqual(const HTuple& T2) const

static void HOperatorSet.TupleEqual(HTuple t1, HTuple t2, out HTuple equal)

HTuple HTuple.TupleEqual(HTuple t2)


tuple_equaltuple_equalTupleEqualTupleEqualTupleEqual tests whether the two input tuples T1T1T1T1t1 and T2T2T2T2t2 are equal by comparing the tuples elementwise. Two tuples are equal, if they have got the same number of elements and if their elements are equal. Two tuple elements are equal, if they are both (integer or floating point) numbers or both are strings and contain the same value.

HDevelop In-line Operation

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

Equal := T1 == T2 or Equal := T1 = T2

Execution Information


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

Input tuple 1.

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

Input tuple 2.

EqualEqualEqualEqualequal (output_control)  integer HTupleHTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Result of the comparison of the input tuples.


tuple_not_equaltuple_not_equalTupleNotEqualTupleNotEqualTupleNotEqual, tuple_lesstuple_lessTupleLessTupleLessTupleLess, tuple_greatertuple_greaterTupleGreaterTupleGreaterTupleGreater, tuple_less_equaltuple_less_equalTupleLessEqualTupleLessEqualTupleLessEqual, tuple_greater_equaltuple_greater_equalTupleGreaterEqualTupleGreaterEqualTupleGreaterEqual, tuple_equal_elemtuple_equal_elemTupleEqualElemTupleEqualElemTupleEqualElem, tuple_not_equal_elemtuple_not_equal_elemTupleNotEqualElemTupleNotEqualElemTupleNotEqualElem, tuple_less_elemtuple_less_elemTupleLessElemTupleLessElemTupleLessElem, tuple_greater_elemtuple_greater_elemTupleGreaterElemTupleGreaterElemTupleGreaterElem, tuple_less_equal_elemtuple_less_equal_elemTupleLessEqualElemTupleLessEqualElemTupleLessEqualElem, tuple_greater_equal_elemtuple_greater_equal_elemTupleGreaterEqualElemTupleGreaterEqualElemTupleGreaterEqualElem