DataStructure (FPScript)

21.09.2021

Determines the data structure of a data set.

Syntax

DataStructure(DataSet)

 

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

Part

Description

DataSet

The data set whose data structure is determined.

All data structures are allowed. All data types are permitted.

Remarks

The result is an integer that represents the data structure.

The function returns one of the following values:

Constant

Meaning

STRUCT_SCALARVALUE

Data structure code for a scalar value.

STRUCT_DATASERIES

Data structure code for a data series.

STRUCT_DATAMATRIX

Data structure code for a data matrix.

STRUCT_SIGNAL

Data structure code for a signal.

STRUCT_SIGNALSERIES

Data structure code for a signal series.

STRUCT_SIGNALSERIES_X

Data structure code for a signal series with a two-dimensional X component.

STRUCT_SPACECURVE

Data structure code for a space curve.

STRUCT_LIST

Data structure code for a list.

Available in

FlexPro View, Basic, Professional, Developer Suite

Examples

DataStructure(0)

Results in STRUCT_SCALARVALUE.

DataStructure({1, 2})

Results in STRUCT_DATASERIES.

DataStructure(1. # 3 # 4)

Results in STRUCT_DATAMATRIX.

See Also

DataType Function

Data Types

Share article or send as email:

You might be interested in these articles