How do I reference a variable using runtime variables?

Not sure if that’s the proper phrasing but I’m trying to do something very simple and can’t figure out why this doesn’t work.

I have a variable declared.

public		var				wall0_1 : Array = new Array(5);

And want to reference it using runtime variables like so:

	var wallAry : Array = this["wall" +row +"_" +column];

But slicing is not supported. Is there another way to do this or is my syntax just incorrect?

You probably want to use a HashTable instead of an Array;