1d access to a 2d type array

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

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

A bank has its advantages yes.. for instance, you can poke either a float or an int at a specific spot, meaning you actually have choice during the process. The low-level poking is a bit less nice tho, tho one can use CONSTs for offsets like 'r', 'g', 'b', etc.

But uhm, before I make worries about something irrelevant, is a x+width*y for each array entry in a 1-dimensional array slowing down? Or does BMax's 2d array addressing works exactly the same?