ClassesClasses | | Operators

tuple_chrtuple_chrTupleChrTupleChr (Operator)

Name

tuple_chrtuple_chrTupleChrTupleChr — Convert a tuple of integer numbers into strings.

Signature

tuple_chr( : : T : Chr)

Herror tuple_chr(const Hlong T, char* Chr)

Herror T_tuple_chr(const Htuple T, Htuple* Chr)

void TupleChr(const HTuple& T, HTuple* Chr)

HTuple HTuple::TupleChr() const

static void HOperatorSet.TupleChr(HTuple t, out HTuple chr)

HTuple HTuple.TupleChr()

Description

tuple_chrtuple_chrTupleChrTupleChrTupleChr converts the input tuple TTTTt, consisting of integer numbers, into a tuple of strings of length 1, the characters of which have the ASCII code of the corresponding input number (as long as the characters are part of the ASCII standard, for other characters please note the influence of the used character encoding table, as is touched in 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_chrtuple_chrTupleChrTupleChrTupleChr, which can be used in an expression in the following syntax:

Chr := chr(T)

Execution Information

Parameters

TTTTt (input_control)  integer(-array) HTupleHTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Input tuple with integer numbers.

Restriction: 0 <= T <= 255

ChrChrChrChrchr (output_control)  string(-array) HTupleHTupleHtuple (string) (string) (HString) (char*)

Output tuple with strings.

Alternatives

tuple_chrttuple_chrtTupleChrtTupleChrtTupleChrt

See also

tuple_ordtuple_ordTupleOrdTupleOrdTupleOrd, tuple_ordstuple_ordsTupleOrdsTupleOrdsTupleOrds

Module

Foundation


ClassesClasses | | Operators