Re: Data Name = to more than one number

From: Howard Brazee (howard_at_brazee.net)
Date: 02/10/04


Date: Tue, 10 Feb 2004 15:38:49 GMT


On 10-Feb-2004, Arnold Trembley <arnold.trembley@worldnet.att.net> wrote:

> If running off the right margin is a problem, there's always this
> approach, which just happens to be my preference for readability.

And maintainability. (Easy to comment and un-comment conditions). As for
readability and maintainability it is much closer to EVALUATE than his original
code snippet.

> IF ORDER-ITEM-SERIES = '1'
> OR ORDER-ITEM-SERIES = '2'
> PERFORM FIRST-DISC
> ELSE
> IF ORDER-ITEM-SERIES = '3'
> OR ORDER-ITEM-SERIES = '4'
> OR ORDER-ITEM-SERIES = '5'
> PERFORM SECOND-DISC
> ELSE
> CONTINUE
> END-IF
> END-IF.



Relevant Pages

  • Re: Code Behind vs not
    ... maintainability are certainly high priority, ... Because truly efficent code in NEVER readable, ... > understanding is a result of readability. ... > long time delphi programmer, I prefer VS to borland in this arena). ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Code Behind vs not
    ... > maintainability are certainly high priority, ... >> The best code is both readable and maintainable and balances efficency. ... >> understanding is a result of readability. ... >> long time delphi programmer, I prefer VS to borland in this arena). ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: FizzBuzz
    ... the ultimate of maintainability, something like this is likely to be ... makesub fizz? ... array, ... And if you want readability, ...
    (comp.lang.forth)
  • Re: Highly used programs: any better replacements out there?
    ... The maintainability issue has been made very clear (well, ... But where is the readability concern/advantage? ... For IBM-MAIN subscribe / signoff / archive access instructions, ... send email to listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO ...
    (bit.listserv.ibm-main)
  • Re: Dim a byte array.
    ... > coding techniques across the years. ... the first code I posted was in response to Randy saying it ... As to maintainability or even readability... ... > maintainability were apparently not high on his list of concerns.... ...
    (microsoft.public.vb.general.discussion)