Hello, I'm a very low experience FlexSim User and I would like to ask you how to write properly a while loop for this expression, please. I don't have any idea about how to write it... I would like to read this code every second.
Object current = param(1);
treenode activity = param(2);
Token token = param(3);
treenode processFlow = ownerobject(activity);
int iFound = 0;
int iNumberOfTotes = Table("tableLane10").numRows;
for (int iTote = 1; iTote<= iNumberOfTotes; iTote ++)
{
if (Table("tableLane10")[iTote][1]==Model.find("DP1").labelOrderID)
{
Table("ResumeLanes")[10][1]=1;
break;
}
else
{
Table("ResumeLanes")[10][1]=0;
}
}