From: Andy Lester Date: 2007-01-29T08:36:02+09:00 Subject: Re: Help DRY a couple ifs On Jan 28, 2007, at 5:30 PM, Bil Kleb wrote: > The following snippet is simply nasty, but I > can't see a simple way to DRY it: Create an outer loop that has "fine" and "medium", and plug that in to your if blocks. Also, please consider renaming your variable "data". See http:// www.oreillynet.com/onlamp/blog/2004/03/ the_worlds_two_worst_variable.html for why. xoxo, Andy -- Andy Lester => andy@petdance.com => www.petdance.com => AIM:petdance