Didn't really know where to put it, but chose to put it here.
Array to table
One thing I find inconvenient about arrays is that it might be difficult to remember what you put where. So I decided to create something which displays an array in a table form. I thought it was useful so that's why I'm posting this. <img src="smileys/smiley1.gif" border="0" align="middle"> I highly doubt that this might be handy to use in a game, but it may help you out when testing.
All you have to do is download the file and put it in the project you are working on. All you might want to change is the width of the cells.
<img src="http://img534.imageshack.us/img534/5698/tablenu.png" border="0">
A rather empty array being drawn in a table at runtime.
Download the project file here
If the table doesn't display properly you might have to adjust the width of the cells.
ArraySpaces, ArrayX and ArrayY are some variables that are required to display the table. You do not need to change these.
It's best to chose a font which has a fixed width (all letters take as much space - a 'W' is in the width as big as an 'I'). I chose Lucida Console, you can change this if you'd like.
Note that it doesn't display the Z-axis.
I hope it may be of use to anyone <img src="smileys/smiley30.gif" border="0" align="middle">