in reply to Howto avoid large hard-coded else-if function calls

This is just a shot in the dark, but maybe you should use a dispatch table. :)
  • Comment on Re: Howto avoid large hard-coded else-if function calls