Float32Seq
sequence-functions float32Seq
syntax
- float32Seq(a)
definition
float32Seq(a) results in a sequence of 32 bits floating points 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.
The composition type need to be configured to poly. The sequence2points function can be used to make a pointset domain.
applies to
- data-item a with a string value-type
since version
7.130
example
parameter<string> param := '{10: 41 9999 42 10 600 1 7 116 0 110}';
parameter<float32> param_float32 (poly) := float32Seq(source/param);
param_float32 |
---|
{10: 41 9999 42 10 600 7 116 0 110} |