Arrays
BlitzMax Forums/BlitzMax Programming/Arrays
| ||
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 |
| ||
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. |
| ||
Thxs :) |
| ||
also take a look at the wiki: http://www.blitzwiki.org/index.php/Arrays |
| ||
Thnx perturbatio, this is exactly what I was looking for. :) |
| ||
np, I'm glad someone finally found it useful :) |
| ||
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 |