From: Ted Date: 2002-12-06T10:19:16+09:00 Subject: Re: elseif? No, actually it makes less possible to have a messed-up if statement. Note the visual place between the two end statements. This might be an aid to catch logic problems. I do it all the time. > I have now additional thing to shun -avoid constructs using elsif(elseif). > Just use simple if-else-end construct and nest them if needed. > > like: > > if cond > ... > else > if cond > ... > end > ..... > end > > my principle is to avoid "conflict" as much as possible -lesser things to > think, lesser things to worry. KISS still applies... > > Btw, I vote for "elseif" if ever... else if... :-) > > kind regards, > -botp > >