Hello, just wondering how to have an array of functions.

You see, i have at the moment:
Code:
string ret;
switch (some_var)
case 1:
   ret = some_function1(true); break;
case 2:
   ret = some_function2(false); break;
....
but it would be nicer to make it:
Code:
ret = func_array[some_var](bool_input[some_var]);
now, the bool_input array is easy, just have = { true, false...}
but how do i get the array of funcitons to work?