Skip to content

Uint32Seq

cicada edited this page Dec 7, 2022 · 8 revisions

title: Uint32Seq permalink: /Uint32Seq/

Sequence functions uint32Seq

syntax

  • uint32Seq(a)

definition

uint32Seq(a) results in a sequence of 32 bits unsigned 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_uint32 (poly) := uint32Seq(source/param);

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

Clone this wiki locally