You may try the following example:<br>---------------------------------------------------------------<br>// 1- restart gmsh.<br>// 2- run once.<br>// 3- comment the line indicated and run again.<br>// 4- the variable ArRaY is not cleared when the script is reloaded. You have<br>
// to restart gmsh so that the variable is cleared.<br><br>imax=1;<br>imax=2;  // comment me<br>For i In { 0 : imax : 1 }<br> ArRaY[i]=1;<br>EndFor<br>Printf("%g %g %g ",ArRaY[]);<br>---------------------------------------------------------------<br>
<br>Best regards,<br>Maka<br>