I also use the "THE."  Or "A"  Is just something I do in order to assure the 
variable is unique and not used in commons. Likely due to my background from as 
a var employee, working on various clients systems and never being quite sure 
of what is used in commons and want is not, and knowing the client doesn't want 
to pay me to do the research to find out. 

Thanks,

Marilyn A. Hilb 
Value Part, Inc
Direct: 847-918-6099
Fax: 847-367-1892
[EMAIL PROTECTED]
www.valuepart.com

 -----Original Message-----
From:   Mark Johnson [mailto:[EMAIL PROTECTED] 
Sent:   Sunday, July 10, 2005 8:54 AM
To:     [email protected]
Subject:        [U2] THE variable names

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=""

Again, not rocket science.

Thanks
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to