Re: [U2] Case Statement with only two cases... or for that matter... one case

2012-04-21 Thread Mecki Foerthmann
Well, I prefer: IF A = TEST THEN GOSUB DO.SOMETHING ;* Say why END ELSE GOSUB DO.SOMETHING.ELSE ;* The reason END IMO much more readable - because you see immediately that is is a conditional branching. It is also easier maintainable if you want to add

Re: [U2] Case Statement with only two cases... or for that matter... one case

2012-04-21 Thread dennis bartlett
@Mecki.. What is your editor of choice, ie can you get it to indent 1 space? I've always been a standard FORMAT in ED fella, but the site I've just joined doesn't want that, code must start right up against the edge, have 2 space indenting.. So hard to not instinctively FORMAT, equally hard to

Re: [U2] Case Statement with only two cases... or for that matter... one case

2012-04-21 Thread Larry Hiscock
Dennis, You didn't mention if you're on UV or UD, but the FORMAT command in AE (in UD) has options for margin and indent. You can do FORMAT -M0 -I2 to get the format you specified. Larry Hiscock Western Computer Services -Original Message- From: u2-users-boun...@listserver.u2ug.org