1d access to a 2d type array

BlitzMax Forums/BlitzMax Programming/1d access to a 2d type array

That's not the solution I meant.. of course I can calculate everything myself: 1d access in a 2d arrary, '2d' access in a 1d array. It's this calculation I want to get rid of (in per-pixel calculations), and thus I want something low-level.

One can step through, say, ints in a 2d int array using a pointer. That's 1d access of a 2d array. But alas, couldn't make a pointer of my pixel object. And I'm not sure whether a pointer is such a nice solution here anyway.