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?
TLIST for INT's
BlitzMax Forums/BlitzMax Programming/TLIST for INT's Do you have an example of your code. I am sure there is a reasonable way of doing what you want.
You can cast your ints to strings.
mytlist.Addlast(string myint)
and
myint = String ( mytlist.First() ).ToInt()
mytlist.Addlast(string myint)
and
myint = String ( mytlist.First() ).ToInt()
Or create proper Integer wrapper objects, like in Java.