Eachin loop problem

BlitzMax Forums/BlitzMax Programming/Eachin loop problem

You can't use an Eachin on an array of nulls.
Although you define your array as containing 4 pixmaps, you've only created the array, not the data to fill it, and Eachin won't work.
Instead use
For Local index:int = 0 to 3

Once your array is populated, you could use the EachIn.