Hi,
Is there a way to specify the exact number of times a shape is split?
For example (from the manual):
A--> split(x){ 2 : X(2) | 1 : Y(1) }*
will give as many of the "2 1 2 1 ..." pattern as can fit.
But what if I want to have exactly 3, as in "2 1 2 1 2 1" and leave the rest of the shape unused?
I can always do:
A--> split(x){ 2 : X(2) | 1 : Y(1) | 2 : X(2) | 1 : Y(1) | 2 : X(2) | 1 : Y(1) }
But I want the number of times to repeat to be an attribute. Something like:
A--> split(x){ 2 : X(2) | 1 : Y(1) } * repeat
Thanks!