Hi, I wish to call a method based information out of an array.
Example: parsing a command then locating the command in an array of command names and command execution methods.

How do I build the array

"cmd1", Method1

then how do I execute Method1 from the array.

Thanks