Name
tuple_ordtuple_ordTupleOrdtuple_ordTupleOrdTupleOrd — Convert a tuple of strings of length 1 into a tuple of integer numbers.
Herror tuple_ord(const char* T, Hlong* Ord)
Herror T_tuple_ord(const Htuple T, Htuple* Ord)
Herror tuple_ord(const HTuple& T, Hlong* Ord)
Herror tuple_ord(const HTuple& T, HTuple* Ord)
tuple_ordtuple_ordTupleOrdtuple_ordTupleOrdTupleOrd converts the input tuple TTTTTt, which may only contain
strings of length 1, into a tuple of integer numbers that represent the ASCII
code of the characters of the strings (as long as the characters are part of
the ASCII standard, for other characters please note the influence of
the used character encoding table, see also Tuple / String Operations).
Exception: Empty input tuple
If the input tuple is empty, the operator returns an empty tuple.
HDevelop In-line Operation
HDevelop provides an in-line operation for tuple_ordtuple_ordTupleOrdtuple_ordTupleOrdTupleOrd,
which can be used in an expression in the following syntax:
Ord := ord(T)
- Multithreading type: independent (runs in parallel even with exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
TTTTTt (input_control) string(-array) → HTupleHTupleHTupleVARIANTHtuple (string) (string) (HString) (char*) (BSTR) (char*)
Input tuple with strings of length 1.
Output tuple with integer numbers.
tuple_ordstuple_ordsTupleOrdstuple_ordsTupleOrdsTupleOrds
tuple_chrtuple_chrTupleChrtuple_chrTupleChrTupleChr,
tuple_chrttuple_chrtTupleChrttuple_chrtTupleChrtTupleChrt
Foundation