settablesize("Task",4,3); settablenum("Task", 1, 1, 1); settablenum("Task", 1, 2, 2); settablenum("Task", 1, 3, 27); settablenum("Task", 2, 1, 2); settablenum("Task", 2, 2, 1); settablenum("Task", 2, 3, 25); settablenum("Task", 3, 1, 4); settablenum("Task", 3, 2, 6); settablenum("Task", 3, 3, 1); settablenum("Task", 4, 1, 3); settablenum("Task", 4, 2, 17); settablenum("Task", 4, 3, 3); settablestr ("Solution",1,1,"\solutionF00"); resetmodel(); runspeed(100000000000000); go(); settablesize("Task",4,3); settablenum("Task", 1, 1, 1); settablenum("Task", 1, 2, 2); settablenum("Task", 1, 3, 27); settablenum("Task", 2, 1, 3); settablenum("Task", 2, 2, 17); settablenum("Task", 2, 3, 3); settablenum("Task", 3, 1, 4); settablenum("Task", 3, 2, 6); settablenum("Task", 3, 3, 1); settablenum("Task", 4, 1, 2); settablenum("Task", 4, 2, 1); settablenum("Task", 4, 3, 25); settablestr ("Solution",1,1,"\solutionF10"); resetmodel(); runspeed(100000000000000); go(); settablesize("Task",4,3); settablenum("Task", 1, 1, 1); settablenum("Task", 1, 2, 2); settablenum("Task", 1, 3, 27); settablenum("Task", 2, 1, 3); settablenum("Task", 2, 2, 17); settablenum("Task", 2, 3, 3); settablenum("Task", 3, 1, 4); settablenum("Task", 3, 2, 6); settablenum("Task", 3, 3, 1); settablenum("Task", 4, 1, 2); settablenum("Task", 4, 2, 1); settablenum("Task", 4, 3, 25); settablestr ("Solution",1,1,"\solutionF20"); resetmodel(); runspeed(100000000000000); go();
I have this flesxcript, as you can see i set different values to my global table, is like three different scenarios. What I want to accomplish , is first run the first table , then stop , reset the model and continue for the second table. However with this code it doesnt seem to work. when I run this script it goes directly to the last table and to the solutionF20. Is there any efficient way to code this , so it runs table by table my model ?
Thank you in advance