Object Goes In the List, but Doesn't Come out?

BlitzMax Forums/BlitzMax Beginners Area/Object Goes In the List, but Doesn't Come out?

po(Posted 2009) [#1]
I've added an object to a list, then I give a variable one of the objects in a list, but when I try to access a property that should be associated with the object, it tells me it doesn't exist:


Any help is appreciated,
Thanks

EDIT: Any reference to the Rapper Biggie Smalls is completely coincidental.


N(Posted 2009) [#2]
Object does not have a method called "Draw". You have to cast it to the appropriate type. E.g., Local thesmall:small = small(list.First())


po(Posted 2009) [#3]
Excellent, thank you.