Re: unstring empty string



On Fri, 27 Jul 2007 13:16:23 -0600, Louis Krupp
<lkrupp@xxxxxxxxxxxxxxxxxxxxxxx> wrote:

<snip>
DELIMITED BY ', ' OR SPACES OR ','
<snip>

So you recognize (1) a comma, (2) a comma followed by a space, or (3)
any number of spaces... What happens when someone follows a comma with
more than one space? (They're going to do that, you know.)

That's pretty much why I have moved from UNSTRING to reference
modification now that it's available. Reference Modification isn't
in the spirit of CoBOL, but it is quick, flexible, and obvious.
.



Relevant Pages

  • Re: Any better ideas?
    ... of elementary COBOL elements, as follows: ... DELIMITED BY SIZE INTO W-TARGET. ... Reference modification is a beautiful tool as is Evaluate and I have ... Not just the mainframe programmers, ...
    (comp.lang.cobol)
  • Re: Infinite Loops and Explicit Exits
    ... > them any less qualities of CoBOL. ... standard and was included in the '69 version of the JoD. ... Even reference modification has been around for nearly twenty years now. ...
    (comp.lang.cobol)