Name
tuple_gen_sequencetuple_gen_sequenceTupleGenSequenceTupleGenSequence — Generate a tuple with a sequence of equidistant values.
tuple_gen_sequencetuple_gen_sequenceTupleGenSequenceTupleGenSequenceTupleGenSequence generates a new tuple SequenceSequenceSequenceSequencesequence with
a sequence of equidistant values:
[Start, Start + Step, Start + 2*Step, ... End]
StepStepStepStepstep must not be zero and the sign of
(EndEndEndEndend - StartStartStartStartstart) must be equal to the sign of StepStepStepStepstep.
The last entry of SequenceSequenceSequenceSequencesequence may actually be less than EndEndEndEndend,
if (EndEndEndEndend - StartStartStartStartstart) is not divisible by StepStepStepStepstep without
remainder.
Exception: Empty input tuples
If any of the input tuples is empty, an exception is raised.
HDevelop In-line Operation
HDevelop provides an in-line operation for tuple_gen_sequencetuple_gen_sequenceTupleGenSequenceTupleGenSequenceTupleGenSequence,
which can be used in an expression in the following syntax:
Sequence := [Start:Step:End]
An alternative syntax is
Sequence := [Start:End],
where StepStepStepStepstep defaults to 1.
- Multithreading type: independent (runs in parallel even with exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
Start value of the tuple.
Maximum value for the last entry.
StepStepStepStepstep (input_control) number → HTupleHTupleHtuple (integer / real / string) (int / long / double / string) (Hlong / double / HString) (Hlong / double / char*)
Increment value.
tuple_str_bit_selecttuple_str_bit_selectTupleStrBitSelectTupleStrBitSelectTupleStrBitSelect,
tuple_selecttuple_selectTupleSelectTupleSelectTupleSelect,
tuple_str_first_ntuple_str_first_nTupleStrFirstNTupleStrFirstNTupleStrFirstN,
tuple_str_last_ntuple_str_last_nTupleStrLastNTupleStrLastNTupleStrLastN,
tuple_concattuple_concatTupleConcatTupleConcatTupleConcat,
tuple_inserttuple_insertTupleInsertTupleInsertTupleInsert,
tuple_replacetuple_replaceTupleReplaceTupleReplaceTupleReplace,
tuple_gen_consttuple_gen_constTupleGenConstTupleGenConstTupleGenConst
tuple_randtuple_randTupleRandTupleRandTupleRand
Foundation