Sometimes I build a case statement like this because I figure I'll grow
into it by the time I'm done doing what I'm trying to do. :-)
Bill
------------------------------------------------------------------------
----- Original Message -----
*From:* wjhon...@aol.com
*To:* u2-users@listserver.u2ug.org
*Date:* 4/19/2012 12:52 PM
*Subject:* [U2] Case Statement with only two cases
Is there a point in code like this
BEGIN CASE
CASE A = "TEST"; GOSUB DO.SOMETHING
CASE 1; GOSUB DO.SOMETHING.ELSE
END CASE
versus this
IF A = "TEST" THEN GOSUB DO.SOMETHING ELSE GOSUB DO.SOMETHING.ELSE
Personally I see no advantage in making this a CASE
Does the rest of the *Universe* agree with me?
_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users