01-02-2006 07:19 PM
01-03-2006 01:00 AM
In the lower loop, the value reference is only read once before the loop, so the value feeding to the case structure will never change once the loop starts. In the upper loop, you read the value reference at each loop iteration.
Think dataflow!
What are you trying to achieve?
(... and don't forget to place a small wait inside each while loop ;))
01-04-2006 04:47 AM