You may also have a look at this little module I made... Nothing hard but I just like being able to add/insert/remove or find the index of an element easily, so if you're not sure about how arrays work in BMax, my module might be useful: (I think you should re-compile it yourself though it's already compiled (try it out first and compile it if brings any problem))
http://www.blitzbasic.com/Community/posts.php?topic=45572
http://www.blitzbasic.com/Community/posts.php?topic=45572