‎01-10-2012 10:27 AM
What is the physical interpretation of auto indexing.?
Solved! Go to Solution.
‎01-10-2012 10:34 AM
When you wire an array to the edge of a For Loop, it will sequentially index the array for you as it iterates through loops. A While Loop will also do this, but it is much more common on For Loops, hence, For Loops do it automatically whereas While Loops have to be "right clicked" and told to index the array. Get it?
‎01-10-2012 10:52 AM - edited ‎01-10-2012 10:53 AM
It is like a Pez Dispenser. Every time the loop iterates the neck pops back and you get the next piece of candy. The loop keeps going popping out yummy candy (I don't like the peppermint but I do like orange) until the dispenser is empty. If you have more than one Pez Dispenser then their heads are all tied together so that they pop back simultaniously and cannot do so independently. This has the unfortunate consequence that once one of them runs out you are done even though there are still other Pez Dispensers full of strawberry or grape. Even worse, if one of them is empty then none of their heads can pop back and you get no candy whatsoever!
[Edit: I am trying to be funny and not sarcastic. I hope you don't take it wrong ]
‎01-10-2012 12:19 PM - edited ‎01-10-2012 12:45 PM
So far you heard some physical analogues, but to answer the question: There is nothing "physical" about autoindexing, it is all virtual and conceptual. 🙂