4DScript If statement with 4 options
Posted: Wednesday 03 April, 2019 - 13:11
Hi everyone,
I am looking for a way to insert 4 statements in a if statement.
I understand how to do it with 2 options:
But I have four product types with all different processing time on the same workstation (server).
I made four arrival lists with a trigger on exit: Label([Type], i) := 1
Can someone help me please?
I am looking for a way to insert 4 statements in a if statement.
I understand how to do it with 2 options:
Code: Select all
If(Label([Type],i)=1,
hr(1),
hr(2))
I made four arrival lists with a trigger on exit: Label([Type], i) := 1
Can someone help me please?