respond to u2-users
To: u2-users@listserver.u2ug.org
cc:
Subject:RE: [U2] INCLUDE weirdo
You do realise that you are showing U2 to be a sport of the pre-historic?
My first experience with computers was paper tape.
Version control was performed with a pencil
I would not say pre-historic. Those items mentioned are not that far
removed.
Remember how quickly vinyl left the shelves when CDs came into being.
You do realize that you are showing U2 to be a sport of the
pre-historic?
/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To
You do realise that you are showing U2 to be a sport of the pre-historic?
My first experience with computers was paper tape.
Version control was performed with a pencil on the leader of the tape.
How many remember punch cards.
How about a half a day turnaround to see if your program compiled?
Welll
I use Notepad++ to edit, on a LIVE system, making every error instantly
visible in 11 branches across a 300km range...
yes, of course I'm using version control, its called panic 101, aka The
Fire Station...
Rex Gozar WROTE:
You ARE using source code control tools (i.e. not home
Dennis,
I've started to document the steps I've taken to cleanup bad code. You
or anyone else interested can read them at:
http://www.pickwiki.com/cgi-bin/wiki.pl?Project_Cleansweep
I'm not done since there is a lot to cover. I hope to add more over the
next few weeks.
rex
Dennis
: Friday, March 07, 2008 8:16 AM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] INCLUDE weirdo
Dennis,
I've started to document the steps I've taken to cleanup bad code.
You
or anyone else interested can read them at:
http://www.pickwiki.com/cgi-bin/wiki.pl?Project_Cleansweep
I'm
All I can say is, you must have a lot of free time.
I'm reminded of the old saying - if you want something doing, ask the
busiest person.
Brian
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
With more than 25 years in IT, this is what I have learned:
*People remember quick for a day; they remember dirty forever.*
- When I talked to a former CIO about quality and documentation, he
said management expects best practices, and it is up to us programmers to
deliver them.
-
Jerry,
Doing this kind of stuff doesn't take a lot of time; *learning* what to
do and how to do it takes a whole lot more. Your programmers have
probably already lost more productive hours than it takes to clean the
trash up. You'll also spot bugs a whole lot faster, furthering your
We must remember that programming and computers in general has changed
much since the beginning.
How many remember punch cards.
Can programmers today relate to a time when programmers submitted there
code to be placed on punched cards?
How about a half a day turnaround to see if your program
Or listening to the core play their favorite song on the transistor
radio placed on top of the memory subsystem. :)
Jerry Banker
-Original Message-
From: Tim Stokes [mailto:[EMAIL PROTECTED]
Sent: Friday, March 07, 2008 2:47 PM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2
We must remember that programming and computers in general
has changed much since the beginning.
How many remember punch cards.
Can programmers today relate to a time when programmers submitted
their code to be placed on punched cards?
Sure can. I usually had to do my own keypunching,
Of Tim Stokes
Sent: Friday, March 07, 2008 3:47 PM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] INCLUDE weirdo
We must remember that programming and computers in general has changed much
since the beginning.
How many remember punch cards.
Can programmers today relate to a time when
Well, THANKS for that - because that is precisely what I'm doing right
now... looping thru dicts to create attribute equates...
Perhaps we should have an area we can post all these utilities so we don't
have to reinvent the wheel every time...
Anyone?
-Original Message-
Rex Gozar wrote:
Dennis,
I'll try to post my utilities to www.PickWiki.com for you and anyone
else interested. There may be similar utilities there, but I was
striving to get the programs here to conform to a specific coding
standard (already posted on PickWiki). Your standards may be
drastically
As someone once told me;
The great thing about Pick is you can sit down at your kitchen table and
write an entire application. The bad thing about Pick is people sit down
at their kitchen tables and write applications :)
-Original Message-
I firmly believe that shoddy programming
I don't think the shoddy programming issue is localized to Pick/MV people
only. Shoddy programming has eroded the confidence in our entire profession
irrespective of language, database, tools, etc. and yes, application
development is a profession - and all that implies - not a career nor merely
a
Kevin said
I don't think the shoddy programming issue is localized to Pick/MV
people
only. Shoddy programming has eroded the confidence in our entire
profession
irrespective of language, database, tools, etc. and yes, application
development is a profession - and all that implies - not a career
While I believe there's ample blame to go around, it remains up to each
person to choose how they approach the obstacles of this profession. As a
consultant I am periodically assigned to tasks where cutting a few corners
might be the only way to achieve the improbable objective on the impossible
You're a genius...!!!
Thanks for that - added a blank line and all is happy!
dennis
David Beaty wrote:
Does the BP version of this item have a blank line at the end? We've
experience problems with INCLUDES that don't have that.
Dennis Bartlett wrote:
0033 WRITESEQ LOG.FILE ON
Womack, Adrian skrev:
Does anyone else think it's bad practice to have code in INCLUDES?
I do !Warning this is a classical religious war issue!
Surely it would be much better to have the INITIATE.FEEDBACK
GIVE.FEEDBACK routines written as subroutines, and then simply call them
from
It is a maintenance nightmare from the 1980s that needs to be corrected.
Date: Wed, 5 Mar 2008 12:14:57 +0100
From: [EMAIL PROTECTED]
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] INCLUDE weirdo
Womack, Adrian skrev:
Does anyone else think it's bad practice to have code in INCLUDES
Currently the system uses the following coding structure:
OPEN 'HPMAST.FILE' TO F1 ELSE STOP
OPEN 'HPCONTRACT' TO F2 ELSE STOP
OPEN 'HPTRANS.FILE' TO F3 ELSE STOP
READ F1R FROM F1, KEY THEN...
READ F2R FROM F2, KEY THEN...
READ F3R FROM F3, KEY THEN...
F1R36,X = F2R13 / F3R82 * F1R8 + F3R43
Just
2008 06:00 AM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] INCLUDE weirdo
Hi Dennis,
Have you solved this?
When I have run into trouble with INCLUDE, I have copied the code into my
program and compiled. The problem then usually becomes obvious. Have you
tried this?
Cheers, Kate
Hey, in a normal world I would agree.
No religious war needed... ;-)
Thanks for the heads up - its something I'll put a bit more thought into...
Its just the magnitude of what I have to achieve that's pushing me this way.
I'm currently getting around a hour to work on a particular source code
It is a maintenance nightmare from the 1980s that needs to be corrected.
Agreed. I started here on Jan 7th. I've so far been assigned 97 tasks, each
in some state of investigation / repair before the next one hits. At this
rate, with no hope of time to do a thorough overhaul, I had to find a
Whatever salary you're making, it's not enough! :)
-Dianne
Dennis Bartlett wrote:
Currently the system uses the following coding structure:
OPEN 'HPMAST.FILE' TO F1 ELSE STOP
OPEN 'HPCONTRACT' TO F2 ELSE STOP
OPEN 'HPTRANS.FILE' TO F3 ELSE STOP
READ F1R FROM F1, KEY THEN...
READ F2R FROM F2,
TO 0
EQU ThatName TO HPMAST.REC1
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dennis Bartlett
Sent: Wednesday, March 05, 2008 9:57 AM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] INCLUDE weirdo
Currently the system uses the following coding structure
When I see difficult UNIBASIC code, I just remember RPL.
Charles Shaffer
Senior Analyst
NTN-Bower Corporation
Whatever salary you're making, it's not enough! :)
-Dianne
Dennis Bartlett wrote:
Currently the system uses the following coding structure:
OPEN 'HPMAST.FILE' TO F1 ELSE STOP
OPEN
Dianne is correct. Your code looks like it was built by a CASE tool.
Jerry Banker
-Original Message-
From: Dianne Ackerman [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 05, 2008 9:28 AM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] INCLUDE weirdo
Whatever salary you're
(ITEM)-1]
REPEAT
WRITE ITEM ON FILE, ID
END
REPEAT
RETURN
*
END
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kate Stanton
Sent: Tuesday, March 04, 2008 8:00 PM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] INCLUDE weirdo
: Re: [U2] INCLUDE weirdo
When I see difficult UNIBASIC code, I just remember RPL.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
@listserver.u2ug.org
Sent: Wednesday, March 05, 2008 12:10 PM
Subject: Re: [U2] INCLUDE weirdo
When I see difficult UNIBASIC code, I just remember RPL.
Charles Shaffer
Senior Analyst
NTN-Bower Corporation
Whatever salary you're making, it's not enough! :)
-Dianne
Dennis Bartlett wrote:
Currently
Susan Wrote:
Now, now, now - you can write bad code in any language...
You're right there. I've proved it many times.
I actually liked RPL!
So you're the one!
Charles Shaffer
Senior Analyst
NTN-Bower Corporation
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please
Dennis,
I inherited similar bad code. It too used F1, F2... for file variables,
hardcoded attribute numbers, etc.. Over 10% of the programs would not
compile without some warning or error.
I wrote a utility to generate INCLUDE files for attribute equates. Then
I wrote another utility to
Do you have a VOC entry for SNIPPETS ?
Is SNIPPETS a Type 1/19 file?
Is there a record called GIVE.FEEDBACK in SNIPPETS ?
Does the compiler time out after a while (say five minutes) or hang
interminably ?
- Original Message -
From: Dennis Bartlett [EMAIL PROTECTED]
To:
Check that the SNIPPETS file is type 1 or 19
I use $INCLUDE also.
Regards
David Jordan
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
!
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ray Wurlod
Sent: 04 March 2008 10:21 AM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] INCLUDE weirdo
Do you have a VOC entry for SNIPPETS ?
Is SNIPPETS a Type 1/19 file?
Is there a record called
Dennis
If you're using BLAT I assume you're on Windows.
I've seen an INCLUDE hang if the included file doesn't have a terminating CRLF.
Go into the editor and file it again and see if the problem persists.
Brian
I have an INCLUDE statement that brings in code from a snippets file called
Does anyone else think it's bad practice to have code in INCLUDES?
Surely it would be much better to have the INITIATE.FEEDBACK
GIVE.FEEDBACK routines written as subroutines, and then simply call them
from the appropriate spots.
If the code in either of those routines needs to be changed, you'll
Hi Dennis,
Have you solved this?
When I have run into trouble with INCLUDE, I have copied the code into my
program and compiled. The problem then usually becomes obvious. Have you
tried this?
Cheers, Kate
- Original Message -
From: Dennis Bartlett [EMAIL PROTECTED]
To:
41 matches
Mail list logo