Int8Seq
sequence-functions int8Seq
syntax
- int8Seq(a)
definition
int8Seq(a) results in a sequence of 8 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.
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<int8> param_int8 (poly) := int8Seq(source/param);
param_int8 |
---|
{10: 41 null 42 10 null 7 116 0 110} |