TLIST for INT's
BlitzMax Forums/BlitzMax Programming/TLIST for INT's
| ||
Hard to believe that I have not come across this before! It seems you can not put simple types in a Tlist because it is not an object. Is there something else that I can use to dynamically create a list of integers on the fly? |
| ||
Do you have an example of your code. I am sure there is a reasonable way of doing what you want. |
| ||
http://www.blitzbasic.com/codearcs/codearcs.php?code=1585 |
| ||
You can cast your ints to strings. mytlist.Addlast(string myint) and myint = String ( mytlist.First() ).ToInt() |
| ||
Or create proper Integer wrapper objects, like in Java. |