Unable to convert int to object

BlitzMax Forums/BlitzMax Programming/Unable to convert int to object

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

The simplest method is to use String as the container for ints in a list:
SuperStrict

Local list:tlist=New tlist

Local t:Int=40

list.addlast String(t)
list.addlast String(30)

For Local s$=EachIn list
	t=Int(s$)
	Print t
Next