Re: Infinite Loops and Explicit Exits
From: Lueko Willms (l.willms_at_jpberlin.de)
Date: 12/01/04
- Next message: Lueko Willms: "Re: COMPUTE vs MOVE"
- Previous message: Lueko Willms: "Is COBOL being widely used? (Re: COMPUTE vs MOVE)"
- Maybe in reply to: Robert Wagner: "Re: Infinite Loops and Explicit Exits"
- Next in thread: Richard: "Re: Infinite Loops and Explicit Exits"
- Reply: Richard: "Re: Infinite Loops and Explicit Exits"
- Reply: Howard Brazee: "Re: Infinite Loops and Explicit Exits"
- Reply: LX-i: "Re: Infinite Loops and Explicit Exits"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 01 Dec 2004 12:01:00 GMT
. On 30.11.04
wrote howard@brazee.net (Howard Brazee)
on /COMP/LANG/COBOL
in coi19j$4rq$1@peabody.colorado.edu
about Re: Infinite Loops and Explicit Exits
r>>> Aren't 'reference notation' and 'STRING' a "quality of Cobol" ?
LW>> But these late additions to COBOL are not at all distinctive
LW>> for COBOL, rather a "me too".
HB> So?
So what?
I'm not sure what your "so?" asks for -- as to reference notation
(like in variable-x(startpos:length)), which is expressed in most
other languages by a funktion SUBSTRING(var, start, lenth), I do use
it the database development system which I do currently use as my main
tool, VDP. I'n sure if this particular form of SubStr() is implemented
in other langauges, too (slice of an array).
String concatenation is also a normal thing in such programming
languages.
For UNSTRING, though, there are not so straightforward equivalences
in other languages, but pattern matching has been around in SNOBOL for
a long time, and in REXX I have the PARSE statement, and the WORD()
function. For my VDP applications, I have written my own procedure to
parse a string into words, with the separators handed over as a
parameter.
Yours,
Lüko Willms http://www.willms-edv.de
/--------- L.WILLMS@jpberlin.de -- Alle Rechte vorbehalten --
Der Mann machte sehr viel Wind. B: O nein! Wenn es noch Wind gewesen wäre, es war aber mehr ein wehendes Vacuum. -G.C.Lichtenberg
- Next message: Lueko Willms: "Re: COMPUTE vs MOVE"
- Previous message: Lueko Willms: "Is COBOL being widely used? (Re: COMPUTE vs MOVE)"
- Maybe in reply to: Robert Wagner: "Re: Infinite Loops and Explicit Exits"
- Next in thread: Richard: "Re: Infinite Loops and Explicit Exits"
- Reply: Richard: "Re: Infinite Loops and Explicit Exits"
- Reply: Howard Brazee: "Re: Infinite Loops and Explicit Exits"
- Reply: LX-i: "Re: Infinite Loops and Explicit Exits"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|