From: "Peña, Botp" Date: 2006-11-17T16:40:13+09:00 Subject: Re: case vs using if question [mailto:list-bounce@example.com] On Behalf Of Scott Comboni: # Thanks so much Paul for the quick response.. I have about 100 # codes to # search I just converted it to case seems a little cleaner and less # typing which is good.. Thanks for the info.. 100 is quite many, therefore justin's suggestion of hash is good. You might also want to save the hash in a separate text file preferably in yaml format. This way if you need to add or delete codes, you just edit the yaml file (your program stay as is). kind regards -botp