how to +/- the index in a "for all in order"
It would be nice to do a "wave" by a row of fairies such that the currently indexed object in a "for all in order" is at the "crest" of the "wave" while those besides to the left and right are at the ebb and start of the "wave".
Say a call to the method "standUpWave" uses index, then "sitDown" would need index-1 and "startWave" is called with index+1. Or, startWave uses index while index-1 and index-2 call on "standUpWave" and "sitDown", respectively. How is the index in a "for all in order" accessed? |
It's not accessed. You have to use the loop command and manually make the iterator yourself to access the index.
|
I thought so .... oh, well!
|
All times are GMT -5. The time now is 12:33 PM. |
Copyright ©2024, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.