list - valueAtIndex in monkey?

Community Forums/Monkey Talk/list - valueAtIndex in monkey?

gameproducer(Posted 2011) [#1]
good way to handle valueAtIndex in monkey? here's example code I try get working:
Local dwarf:TCharacter = tcharacter(Self.dwarfs.ValueAtIndex(Self._activeDwarfIndex))