07-19-2017 10:43 AM - edited 07-19-2017 11:12 AM
Hi,
Im working currently with Plant Simulation version 13.
months ago I used i += 1 instead of i = i + 1. But since yesterday when I used i += 1, Plant Simulation understood i = i + 2. Today I try it again, but nothing changes.
Anybody like me?
Or it happens only with me?
My code:
for var i := 1 to table.YDIm if table["side",i] = "left" if i = 1 table["path",i].A.createSensor((table["length",i]), "length", "m_controlSensor", true, false, VOID, true, false ) else if table["length",i] /= table["length",i-1] table["path",i].A.createSensor((table["length",i]), "length", "m_controlSensor", true, false, VOID, true, false ) end end else debug end i += 1 next
Sorry for my dumb question.
Thanks
Solved! Go to Solution.
07-19-2017 11:00 AM
Hi Elisha,
can you post the surrounding code?
07-19-2017 11:08 AM
07-19-2017 11:08 AM
07-19-2017 11:19 AM
Steffen Bangsow freelance simulation specialist web: www.bangsow.eu mail: steffen@bangsow.net | ![]() |
07-19-2017 12:30 PM