Concatenate (FPScript)

21.09.2021

Appends strings, scalar values, data series, data matrices, signals, signal series and space curves.

Syntax

Concatenate(DataSet1, DataSet2 [ , ShiftXValues = FALSE ])

 

The syntax of the Concatenate function consists of the following parts:

Part

Description

DataSet1

The first data set.

All data structures are allowed.

If the argument is a list, then the function is executed for each element of the list and the result is also a list.

DataSet2

The second data set to be concatenated with the first.

All data structures are allowed.

If the argument is a list, then the function is executed for each element of the list and the result is also a list.

ShiftXValues

TRUE, if the X values of the signals to be appended are to be shifted so that they connect seamlessly to that of the respective predecessor. (TRUE corresponds to operator (:), FALSE corresponds to operator (::)).

All data structures are allowed.

If this argument is omitted, it will be set to the default value FALSE.

Remarks

The function corresponds to the concatenation operators (:) and (::) of FPScript except that lists at the top level are not concatenated, but are processed element by element.

Available in

FlexPro Basic, Professional, Developer Suite

Examples

Concatenate(Signal1, Signal2)

Corresponds to Signal1 :: Signal2.

Concatenate(Signal1, Signal2, True)

Corresponds to Signal1 : Signal2.

Concatenate([Signal1, Signal2], Signal3, True)

Corresponds to [Signal1 : Signal3, Signal2 : Signal3].

See Also

Concatenation operator (:) (::) (FPScript)

Share article or send as email:

You might be interested in these articles