Skip to content

Int32Seq

mtbeek32 edited this page Jan 2, 2023 · 6 revisions

Sequence functions int32Seq

syntax

  • int32Seq(a)

definition

int32Seq(a) results in a sequence of 32 bits signed integers derived from string data item a.

The syntax for string argument a need to be: {10: 41 9999 42 10 600 1 7 116 0 110} .

In this string the curly brackets {..} indicate the start and end of the sequence.

The first number (10) indicates the number of elements of the sequence followed by a colon. The elements of the sequence follow this colon, separated by spaces.

applies to

since version

7.130

example

Elements/points Elements/SequenceNr Elements/ordinal
41 0 0
9999 0 1
42 0 2
10 0 3
600 0 4
1 0 5
7 0 6
116 0 7
0 0 8
110 0 9

domain Elements, nr of rows = 10

parameter param              := '{10: 41 9999 42 10 600 1 7 116 0 110}';  parameter  param_int32 (poly) := int32Seq(source/param);

unit posListUnit := range(uint32, 0, 1);  unit Elements    := sequence2points(union_data(posListUnit, param_uint8));

Clone this wiki locally