I'm new to Gmsh and after browsing many sites I haven't found the answer for this silly error.
Using the native language of the software, I'm assigning a value to the Transfinite property of a bunch of lines (with no consecutive ID's) in my model, using this syntax:
value = 10;
For i In [81, 83, 85, 87, 72, 73, 75, 77, 79]
Transfinite Curve{i} = value;
EndFor
When loading the file, in all the For loops on my script I get the same error message: "syntax error ([)". Documentation states the loop as:
For i In {1:3}
x~{i} = i;
EndFor
followed by:
The brackets [] permit to extract one item from a list (parentheses can also be used instead of brackets).
It's still not really clear about my case, and the script seems to work but I prefer to be completely sure. Does anyone knows how to do in this case?
Thanks in advance.