Re: INSPECT and TRAILING syntax
- From: "Chuck Stevens" <charles.stevens@xxxxxxxxxx>
- Date: Tue, 9 May 2006 06:15:26 -0700
Yes, as I recall it J4 was of the opinion that anything you'd want to do
with TRAILING you could accomplish with existing syntax, even if it required
a "temporary" and an extra statement.
Adding new syntax for functionality that already exists -- particularly when
the syntax for that functionality is pretty straightforward -- adds
complexity to the language without adding functional feature content, and
for that reason the suggestions to provide TRAILING were not followed.
-Chuck Stevens
"William M. Klein" <wmklein@xxxxxxxxxxxxxxxxx> wrote in message
news:wqU7g.432129$7i1.140664@xxxxxxxxxxxxxxxxxxxxxxxxx
Roger (et al),
I think the thought is/was that "Function Reverse" lets you do much of
this (not REPLACING or CONVERTING - but tallying). If you use REVERSE to
move a field to a temporary field, you can even do replacing and
converting.
--
Bill Klein
wmklein <at> ix.netcom.com
"Roger While" <simrw@xxxxxxxxxxxx> wrote in message
news:e3p2b2$fmv$01$1@xxxxxxxxxxxxxxxxxxxx
Seems weird to me that alongside ALL, FIRST and LEADING
the TRAILING keyword never made it into any standard.
Bill, was it ever considered ?
ACU implements it and I have just put it into OpenCOBOL.
Roger While
.
- Follow-Ups:
- Re: INSPECT and TRAILING syntax
- From: Pete Dashwood
- Re: INSPECT and TRAILING syntax
- References:
- INSPECT and TRAILING syntax
- From: Roger While
- Re: INSPECT and TRAILING syntax
- From: William M. Klein
- INSPECT and TRAILING syntax
- Prev by Date: Re: brain teaser
- Next by Date: Re: brain teaser
- Previous by thread: Re: INSPECT and TRAILING syntax
- Next by thread: Re: INSPECT and TRAILING syntax
- Index(es):
Relevant Pages
|