Int32Seq - ObjectVision/GeoDMS GitHub Wiki
Sequence functions int32Seq
- int32Seq(a)
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.
The composition type need to be configured to poly. The Sequence2Points function can be used to make a pointset domain.
- data item a with a string value type
7.130
parameter<string> param := '{10: 41 9999 42 10 600 1 7 116 0 110}';
parameter<int32> param_int32 (poly) := int32Seq(source/param);
param_int32 |
---|
{10: 41 9999 42 10 600 7 116 0 110} |