in reply to problems with the "switch" module

Please see our Tutorials page, where you can find Implementing Dispatch Tables, if you desire more information on Zaxo's solution.

HTH,

planetscape