That's a code smell and needs to be refactored.
>Yes!
>
>Especially when you've had a prior programmer who did things like
>
>if (some condition)
>
> stmt1
>
> stmt2
>
> stmt3
>
> stmt4
>
> stmt5
>
> stmt6
>
>
> do case
>
> case first
>
> case second
>
> end case
>
>
>
>And this goes on for about 200 lines of code = 500 lines in the program.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer