Please see my comment to the question. Do something like:
colums[0] = function () { return 'a'; }
colums[1] = function () { return 'b'; }
colums[2] = function () { return 'c'; }
value = columns[someIntegerIndex]();
I hope this is just for research, and the functions are supposed to be less trivial, because if you really want to return a character by a function without parameters, you would better simply have an array of characters.
—SA