Lou Scoras wrote: > On 11/17/06, Robert Klemme <shortcutter / googlemail.com> wrote: >> >> In that case (!) I would definitively use a Hash as Justin suggested. >> This is /much/ more efficient and also you gain flexibility in filling >> that Hash (i.e. load it from some config file vs. making it part of the >> code) if you need that. >> >> Kind regards >> >> robert > > Agreed. You can also extend a table solution at runtime if need be. Great and thanks for everyones help and sample code snippets hopefully in time I can help out :) I will give this a try today. Sc- -- Posted via http://www.ruby-forum.com/.