Operators |
tuple_gen_const — Generate a tuple of a specific length and initialize its elements.
tuple_gen_const generates a new tuple in Newtuple. The input parameter Length determines the number of elements for the new tuple. Thus, Length may only consist of a single number. If Length contains a floating point number, this may only represent an integer value (without fraction). The data type and value of each element of the new generated tuple is determined by the input parameter Const that may only consist of a single element. All elements in Newtuple have got the same data type and value as the single element in Const.
If any of the input tuples is empty, an exception is raised.
HDevelop provides an in-line operation for tuple_gen_const , which can be used in an expression in the following syntax:
Newtuple := gen_tuple_const(Length, Const)
Length of tuple to generate.
Constant for initializing the tuple elements.
New Tuple.
tuple_str_bit_select, tuple_select, tuple_str_first_n, tuple_str_last_n, tuple_concat, tuple_insert, tuple_replace, tuple_gen_sequence
Foundation
Operators |