Name
tuple_is_string_elemtuple_is_string_elemTupleIsStringElemtuple_is_string_elemTupleIsStringElemTupleIsStringElem — Testen, ob die Elemente eines Tupels vom Typ string (Zeichenkette)
sind.
Herror tuple_is_string_elem(const char* T, Hlong* IsString)
Herror T_tuple_is_string_elem(const Htuple T, Htuple* IsString)
Herror tuple_is_string_elem(const HTuple& T, Hlong* IsString)
Herror tuple_is_string_elem(const HTuple& T, HTuple* IsString)
tuple_is_string_elemtuple_is_string_elemTupleIsStringElemtuple_is_string_elemTupleIsStringElemTupleIsStringElem testet die Elemente des Eingabetupels TTTTTt.
Für alle Elemente vom Typ string (Zeichenkette) wird 1 (true)
zurückgegeben, ansonsten wird 0 (false) zurückgegeben.
Sonderfall: Leeres Eingabetupel
Falls das Eingabetupel leer ist, gibt der Operator ein leeres Tupel zurück.
HDevelop Inline-Operation
HDevelop unterstützt eine Inline-Operation für tuple_is_string_elemtuple_is_string_elemTupleIsStringElemtuple_is_string_elemTupleIsStringElemTupleIsStringElem,
die innerhalb eines Ausdrucks in der folgenden Syntax verwendet werden
kann:
IsString := is_string_elem(T)
- Multithreading-Typ: independent (läuft parallel auch zu exklusiven Operatoren).
- Multithreading-Bereich: global (kann von jedem Thread aufgerufen werden).
- Wird ohne Parallelisierung verarbeitet.
TTTTTt (input_control) number(-array) → HTupleHTupleHTupleVARIANTHtuple (string / real / integer) (string / double / int / long) (HString / double / Hlong) (char* / double / Hlong) (BSTR / double / Hlong) (char* / double / Hlong)
Eingabetupel.
Sind die Elemente des Eingabetupels vom Typ string
(Zeichenkette)?
tuple_is_string_elem ([3.1416,'pi',3], IsString)
* IsString = [false, true, false]
Sind die Parameterwerte korrekt, dann liefert tuple_is_string_elemtuple_is_string_elemTupleIsStringElemtuple_is_string_elemTupleIsStringElemTupleIsStringElem
den Wert 2 (H_MSG_TRUE).
tuple_typetuple_typeTupleTypetuple_typeTupleTypeTupleType,
tuple_type_elemtuple_type_elemTupleTypeElemtuple_type_elemTupleTypeElemTupleTypeElem,
tuple_is_stringtuple_is_stringTupleIsStringtuple_is_stringTupleIsStringTupleIsString
tuple_is_mixedtuple_is_mixedTupleIsMixedtuple_is_mixedTupleIsMixedTupleIsMixed,
tuple_is_inttuple_is_intTupleIsInttuple_is_intTupleIsIntTupleIsInt,
tuple_is_realtuple_is_realTupleIsRealtuple_is_realTupleIsRealTupleIsReal,
tuple_is_stringtuple_is_stringTupleIsStringtuple_is_stringTupleIsStringTupleIsString,
tuple_is_mixedtuple_is_mixedTupleIsMixedtuple_is_mixedTupleIsMixedTupleIsMixed,
tuple_is_int_elemtuple_is_int_elemTupleIsIntElemtuple_is_int_elemTupleIsIntElemTupleIsIntElem,
tuple_is_real_elemtuple_is_real_elemTupleIsRealElemtuple_is_real_elemTupleIsRealElemTupleIsRealElem,
tuple_is_numbertuple_is_numberTupleIsNumbertuple_is_numberTupleIsNumberTupleIsNumber
Foundation