Dead Source
Posted: Thursday 27 November, 2014 - 16:15
I added a SOURCE, a CONVEYOR and a SINK to a new model.
After that I declared a global variable in the init-statement of the SOURCE as follows: Dim([rr],vbvalue,2).
Furthermore I added to the (on)reset-statement rr:=2
After this change the source doesn't produce products anymore. Everything seems to be blocked. Even a new model containing these three elements but without the declaration of a variable is blocked.
What do I do wrong?
Background:
I wanted to use variable rr as an index to address the lines in an Excel sheet. After resetting of the model rr has again set to 1.
After that I declared a global variable in the init-statement of the SOURCE as follows: Dim([rr],vbvalue,2).
Furthermore I added to the (on)reset-statement rr:=2
After this change the source doesn't produce products anymore. Everything seems to be blocked. Even a new model containing these three elements but without the declaration of a variable is blocked.
What do I do wrong?
Background:
I wanted to use variable rr as an index to address the lines in an Excel sheet. After resetting of the model rr has again set to 1.