I guess it's a preference. I often load in the MVable fields into plural
variables and use their single form.

PRODS=ORD<15>
C.PRODS=DCOUNT(PRODS,CHAR(253))
FOR I=1 TO C.PRODS
    PROD=PRODS<1,I>
NEXT I

I had just noticed the THE for around the 4th time.

Another use was the labeling of a REPEAT prior to the implementation (or
knowledge of) CONTINUE.
LOOP READNEXT ID ELSE EOF=1
READ CUST FROM F.CUST, ID ELSE GOTO THE.REPEAT
blah, blah
THE.REPEAT:*
REPEAT

mark
----- Original Message -----
From: "Key Ally" <[EMAIL PROTECTED]>
To: <u2-users@listserver.u2ug.org>
Sent: Sunday, July 10, 2005 2:56 PM
Subject: Re: [U2] THE variable names


> Mark,
>       I've used CURR (current) in the same way in many programs. I'm a
> 1983 vintage programmer who learned mostly from guys who had five years
> seniority over me.
>     I've never done the untrusted READ thing, though.
>
>     - Chuck "Older Than I Look, But Starting to Look My Age" Barouch
>
> Mark Johnson wrote:
>
> >This ain't rocket science but it piques my curiosity.
> >
> >I've just acquired another client who's system contains an extrodinary
use of
> >the prefix THE in front of extracted values within a FOR/NEXT or LOOP and
> >labels.
> >
> >READ CUST FROM blah, blah
> >C=DCOUNT(CUST<15>,@VM)
> >FOR I=1 TO C
> >     THE.SALESMAN=CUST<15,I>
> >NEXT I
> >
> >I've seen this before but not to the extent on this client. The
application
> >appears older (mid 1980's) and certainly homegrown.
> >I'm just wondering who comes up with this stuff.
> >Also, was there ever any lack of faith in the READ statement when
assigning
> >the variable REC. I'm now seeing some of this:
> >
> >REC="" ; READ REC FROM FILE, ID ELSE REC=""
> >
> >
>
>
> --
>
> Charles Barouch
> CTO
>
> Key Ally, Inc.
> <http://www.KeyAlly.com> P. O. Box 540957
> Queens, NY 11354 USA
>
>
> Work: (718) 762-3884x1
> Email: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
> Professional Profile <https://www.linkedin.com/e/fps/1501071/>
> Mount Olympus Systems <http://www.MtOlympus.us>
>
>
> See who we know in common <https://www.linkedin.com/e/wwk/1501071/>
> Want a signature like this? <https://www.linkedin.com/e/sig/1501071/>
> -------
> u2-users mailing list
> u2-users@listserver.u2ug.org
> To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to