I second the use of dispatch tables vs switch.
In reply to Re: effect of Switch module on DATA by Pizentios in thread effect of Switch module on DATA by utku