in reply to Subroutines reference from data

What you are looking for is a dispatch table it is covered here on many many posts, take a look aroud super search for some examples.


-Waswas