TStack type
BlitzMax Forums/BlitzMax Beginners Area/TStack type
| ||
as a former c# programmer I used a lot the TStack class to implement algorithms. I get the impression that this type is missing from blitz max and therefore I wish to implement this type with blitz max and of curse give it to the community as a free open source when it ready. before I start a project on this I want to make shore that it is not already exist as part of the language or as an external module (I don't wish to spend my time about something already exist). so if one know about the existence of such a type in blitz max please let me know. |
| ||
Just searched the forums for "stack": http://www.blitzmax.com/Community/post.php?topic=97234&post=1128351 bye Ron |
| ||
Hiya, There's not much that hasn't been done already. TStack Multithread safe version You could easily achieve a TStack with using a TList. Just add and remove from the same end of the list, however a TList isn't multi-thread safe - which doesn't matter unless you're using multiple threads of course :) EDIT: Derron beat me :D |
| ||
thank you. |