Arrays

BlitzMax Forums/BlitzMax Programming/Arrays

ziggy(Posted 2005) [#1]
How can I get info about all the methods, functions, etc of the type ARRAY?
I know there are methods such as Sort. I would like to know all the methods available.
where can I get this documentation? I haven't found it the the BlitzMax documentation


Beaker(Posted 2005) [#2]
It is there. Look under "Language Reference->Arrays". The methods are basically: Sort, Length, and slice. You can also convert an array to/from a list using: ToArray, FromArray - which are both documented in the Lists section of the help.

Maybe there are more.


ziggy(Posted 2005) [#3]
Thxs :)


Perturbatio(Posted 2005) [#4]
also take a look at the wiki: http://www.blitzwiki.org/index.php/Arrays


ziggy(Posted 2005) [#5]
Thnx perturbatio, this is exactly what I was looking for. :)


Perturbatio(Posted 2005) [#6]
np, I'm glad someone finally found it useful :)


KamaShin(Posted 2005) [#7]
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