Variable names that change every time a loop is iterated
I am trying to create a new column formula that changes variable names every time a for loop is iterated. See below for the JSL code: For(i = 1, i <= 5, i++,
dtMachineStartandStopTimes << New Column(:Machine||char(i)||RunDuration, Formula(:Machine||char(i)||StopTime-:Machine||char(i)||StartTime));
);Each row in dtMachineStartandStopTimeshas columns labeled "Machine1StartTime" thru "Machine5StartTi...