RE: [U2] INCLUDE weirdo

2008-03-10 Thread Charles_Shaffer
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

RE: [U2] INCLUDE weirdo

2008-03-10 Thread Tim Stokes
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

RE: [U2] INCLUDE weirdo

2008-03-08 Thread Dennis Bartlett
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?

RE: [U2] INCLUDE weirdo

2008-03-07 Thread Dennis Bartlett
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

Re: [U2] INCLUDE weirdo

2008-03-07 Thread Rex Gozar
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

RE: [U2] INCLUDE weirdo

2008-03-07 Thread Jerry Banker
: 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

RE: [U2] INCLUDE weirdo

2008-03-07 Thread Brian Leach
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/

Re: [U2] INCLUDE weirdo

2008-03-07 Thread Louie Bergsagel
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. -

Re: [U2] INCLUDE weirdo

2008-03-07 Thread Rex Gozar
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

RE: [U2] INCLUDE weirdo

2008-03-07 Thread Tim Stokes
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

RE: [U2] INCLUDE weirdo

2008-03-07 Thread Jerry Banker
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

RE: [U2] INCLUDE weirdo

2008-03-07 Thread Norman Morgan
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,

RE: [U2] INCLUDE weirdo

2008-03-07 Thread David Murray
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

RE: [U2] INCLUDE weirdo

2008-03-06 Thread Dennis Bartlett
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:

Re: [U2] INCLUDE weirdo

2008-03-06 Thread Rex Gozar
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

RE: [U2] INCLUDE weirdo

2008-03-06 Thread Mark Eastwood
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

Re: [U2] INCLUDE weirdo

2008-03-06 Thread Kevin King
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

Re: [U2] INCLUDE weirdo

2008-03-06 Thread Charles_Shaffer
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

Re: [U2] INCLUDE weirdo

2008-03-06 Thread Kevin King
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

RE: [U2] INCLUDE weirdo

2008-03-05 Thread Dennis Bartlett
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

Re: [U2] INCLUDE weirdo

2008-03-05 Thread Mats Carlid
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

RE: [U2] INCLUDE weirdo

2008-03-05 Thread Ron Hutchings
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

RE: [U2] INCLUDE weirdo

2008-03-05 Thread Dennis Bartlett
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

RE: [U2] INCLUDE weirdo

2008-03-05 Thread Dennis Bartlett
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

RE: [U2] INCLUDE weirdo

2008-03-05 Thread Dennis Bartlett
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

RE: [U2] INCLUDE weirdo

2008-03-05 Thread Dennis Bartlett
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

Re: [U2] INCLUDE weirdo

2008-03-05 Thread Dianne Ackerman
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,

RE: [U2] INCLUDE weirdo

2008-03-05 Thread Marc Harbeson
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

Re: [U2] INCLUDE weirdo

2008-03-05 Thread Charles_Shaffer
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

RE: [U2] INCLUDE weirdo

2008-03-05 Thread Jerry Banker
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

RE: [U2] INCLUDE weirdo

2008-03-05 Thread Robert Houben
(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

2008-03-05 Thread Dennis Bartlett
: 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/

Re: [U2] INCLUDE weirdo

2008-03-05 Thread Susan Lynch
@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

Re: [U2] INCLUDE weirdo

2008-03-05 Thread Charles_Shaffer
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

Re: [U2] INCLUDE weirdo

2008-03-05 Thread Rex Gozar
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

Re: [U2] INCLUDE weirdo

2008-03-04 Thread Ray Wurlod
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:

RE: [U2] INCLUDE weirdo

2008-03-04 Thread David Jordan
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/

RE: [U2] INCLUDE weirdo

2008-03-04 Thread Dennis Bartlett
! -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

RE: [U2] INCLUDE weirdo

2008-03-04 Thread Brian Leach
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

RE: [U2] INCLUDE weirdo

2008-03-04 Thread Womack, Adrian
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

Re: [U2] INCLUDE weirdo

2008-03-04 Thread Kate Stanton
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: