-
Notifications
You must be signed in to change notification settings - Fork 1
Repeat
mtbeek32 edited this page Feb 19, 2024
·
5 revisions
String functions repeat
- repeat(string_dataitem, number)
repeat(string_dataitem, number) repeats number (of) times the values of string_dataitem.
- data item string_dataitem with string value type
- data item number with uint32 value type
The domain unit of data items string_dataitem and number must match (literals or parameters can be compared to data items of any domain unit).
5.35
attribute<string> repeatA (ADomain) := repeat(A, nr);
A | nr | repeatA |
---|---|---|
'0' | 0 | |
'1' | 1 | '1' |
'2' | 2 | '22' |
'3' | 3 | '333' |
'4' | 4 | '4444' |
ADomain, nr of rows = 5
GeoDMS ©Object Vision BV. Source code distributed under GNU GPL-3. Documentation distributed under CC BY-SA 4.0.