Int in TList

BlitzMax Forums/BlitzMax Beginners Area/Int in TList

How can I get int-values?
Local List:TList

List = CreateList()
List.AddLast(10)
List.AddLast(20)
List.AddLast(30)

Print List.ValueAtIndex(1)


Must be print out 20, but I can't convert from object to int :(

cu olli