On 7/25/07, Brutzman, Bill <[EMAIL PROTECTED]> wrote:
>
> How can this structure be cleaned-up?
>
>   begin case
>         case Ans = 'A'  ;  gosub Check.A
>         case Ans = 'B'  ;  gosub Check.B
>         case Ans = '2'  ;  gosub Check.B
>   end   case
>

If this is all you need, why not:

IF (Ans = 'A') THEN
  GOSUB Check.A
END ELSE
  GOSUB Check.B
END

Or is your example a simplification?
-Kevin
http://www.PrecisOnline.com
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to