in reply to Passing arguments to functions.

Use a dispatch table