I have a demo for a circular array or stack which is producing index errors but which otherwise appears to be working exactly as intended.
I'm using If(Test, X, Y) to make sure my moving index points stay inside the range of the array, and I suspect the Runner's error checking mechanisms are seeing the cases where the index X or Y is outside the bounds of the array and throwing an error, even though my code works properly.
Please see the second post in this thread for the demo file: http://forum.adrift.co/viewtopic.php?f=14&t=7709&p=87574 |