ClassesClassesClassesClasses | | | | Operators

tuple_equal_elemtuple_equal_elemTupleEqualElemtuple_equal_elemTupleEqualElemTupleEqualElem (Operator)


tuple_equal_elemtuple_equal_elemTupleEqualElemtuple_equal_elemTupleEqualElemTupleEqualElem — Test, whether two tuples are elementwise equal.


tuple_equal_elem( : : T1, T2 : Equal)

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

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

Herror tuple_equal_elem(const HTuple& T1, const HTuple& T2, Hlong* Equal)

Herror tuple_equal_elem(const HTuple& T1, const HTuple& T2, HTuple* Equal)

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

HTuple HTuple::TupleEqualElem(const HTuple& T2) const

void HOperatorSetX.TupleEqualElem(
[in] VARIANT T1, [in] VARIANT T2, [out] VARIANT* Equal)

VARIANT HTupleX.TupleEqualElem(
[in] VARIANT T1, [in] VARIANT T2)

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

HTuple HTuple.TupleEqualElem(HTuple t2)


tuple_equal_elemtuple_equal_elemTupleEqualElemtuple_equal_elemTupleEqualElemTupleEqualElem tests whether the two input tuples T1T1T1T1T1t1 and T2T2T2T2T2t2 are elementwise equal. If both tuples have the same length, the corresponding elements of both tuples are compared. Otherwise, either T1T1T1T1T1t1 or T2T2T2T2T2t2 must have length 1. In this case, the comparison is performed for each element of the longer tuple with the single element of the other tuple. Two tuple elements are equal if they are both (integer or floating point) numbers or both are strings and contain the same value.

Exception: Empty input tuples

If either or both of the input tuples are empty, the operator returns an empty tuple.

HDevelop In-line Operation

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

Equal := T1 [==] T2 or Equal := T1 [=] T2



T1T1T1T1T1t1 (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 1.

T2T2T2T2T2t2 (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 2.

EqualEqualEqualEqualEqualequal (output_control)  integer(-array) HTupleHTupleHTupleVARIANTHtuple (integer) (int / long) (Hlong) (Hlong) (Hlong) (Hlong)

Result of the comparison of the input tuples.


tuple_not_equal_elemtuple_not_equal_elemTupleNotEqualElemtuple_not_equal_elemTupleNotEqualElemTupleNotEqualElem, tuple_less_elemtuple_less_elemTupleLessElemtuple_less_elemTupleLessElemTupleLessElem, tuple_greater_elemtuple_greater_elemTupleGreaterElemtuple_greater_elemTupleGreaterElemTupleGreaterElem, tuple_less_equal_elemtuple_less_equal_elemTupleLessEqualElemtuple_less_equal_elemTupleLessEqualElemTupleLessEqualElem, tuple_greater_equal_elemtuple_greater_equal_elemTupleGreaterEqualElemtuple_greater_equal_elemTupleGreaterEqualElemTupleGreaterEqualElem, tuple_equaltuple_equalTupleEqualtuple_equalTupleEqualTupleEqual, tuple_not_equaltuple_not_equalTupleNotEqualtuple_not_equalTupleNotEqualTupleNotEqual, tuple_lesstuple_lessTupleLesstuple_lessTupleLessTupleLess, tuple_greatertuple_greaterTupleGreatertuple_greaterTupleGreaterTupleGreater, tuple_less_equaltuple_less_equalTupleLessEqualtuple_less_equalTupleLessEqualTupleLessEqual, tuple_greater_equaltuple_greater_equalTupleGreaterEqualtuple_greater_equalTupleGreaterEqualTupleGreaterEqual



ClassesClassesClassesClasses | | | | Operators