Herror ::tuple_gen_const (
    const HTuple &Length,
    const HTuple &Const,
    long *Newtuple
)
Herror ::tuple_gen_const (
    const HTuple &Length,
    const HTuple &Const,
    HTuple *Newtuple
)

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.


Parameters

Length (input_control)
number -> HTuple.long / double
Length of tuple to generate.

Const (input_control)
number -> HTuple.long / double / char *
Konstante für die Initialisierung der Tupelelemente.: description.english: Constant for initializing the tuple elements.

Newtuple (output_control)
number(-array) -> (HTuple.) long * / double * / char *
New Tuple.


Alternatives

::tuple_str_bit_select, ::tuple_select, ::tuple_str_first_n, ::tuple_str_last_n, ::tuple_concat


Module

Operators not requiring licensing



Copyright © 1996-2002 MVTec Software GmbH