I'm trying to write the setup times from 3 machines to a variable.
First, I defined the method to do it. At the end of simulation, the method Endsim, should sum the setup times from the 3 machines.
However, it contains syntax errors. Can someone help me figure out what is wrong?
Attached is the print screen.
Thanks in advance.
Solved! Go to Solution.
have you tried the simtalk 2 syntax
totalSetupTime:=machine1.statSetupPortion+ machine2.statSetupPortion+ machine3.statSetupPortion