Int16Seq

sequence-functions int16Seq

syntax

  • int16Seq(a)

definition

int16Seq(a) results in a sequence of 16 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

since version

7.130

example

parameter<string> param              := '{10: 41 9999 42 10 600 1 7 116 0 110}';
parameter<int16>  param_int16 (poly) := int16Seq(source/param);
param_int16
{10: 41 9999 42 10 600 7 116 0 110}