Guys/Gals
1. Please trim.
2. Please note that this has moved to U2-Community.
Brian
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
Sent: 03 August 2007 01:32
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] RE: Cleaner Case Statement
Then you must have the luzury of programming from scratch.
I support roughly 15 clients worth of software written in various platforms
with some source code stretching as far back as 1974. Yes
, August 03, 2007 7:44 AM
Subject: RE: [U2] RE: Cleaner Case Statement
Come on guys 'IF X ELSE blah' - is it really that bad/hard - it is logic
and we are computer programmers, we should be able to figure out a lot
tougher stuff than that ;)
Rgds
Symeon.
-Original Message-
From
-users@listserver.u2ug.org
Subject: Re: [U2] RE: Cleaner Case Statement
The code should be easy to understand. Yes. we can figure out a lot of
stuff
but if making the next guy to stumble over each line having to figure
it
out is not very professional.
- Original Message -
From: Symeon
: [U2] RE: Cleaner Case Statement
Come on guys 'IF X ELSE blah' - is it really that bad/hard - it is logic
and we are computer programmers, we should be able to figure out a lot
tougher stuff than that ;)
Rgds
Symeon.
-Original Message-
From: [EMAIL PROTECTED
is not very professional.
- Original Message -
From: Symeon Breen [EMAIL PROTECTED]
To: u2-users@listserver.u2ug.org
Sent: Friday, August 03, 2007 7:44 AM
Subject: RE: [U2] RE: Cleaner Case Statement
Come on guys 'IF X ELSE blah' - is it really that bad/hard - it is logic
and we are computer
-users@listserver.u2ug.org
Sent: Friday, August 03, 2007 4:42 PM
Subject: Re: [U2] RE: Cleaner Case Statement
Alright, it really gets my goat when people start tossing around you're
not professional nonsense.
Early in my (10 year) programming career, I was fond of clever
constructs like if x else
Where is said 'structured programming school' and is attendance required.
Never heard of it.
Thanks
Mark Johnson
- Original Message -
From: Allen E. Elwood [EMAIL PROTECTED]
To: u2-users@listserver.u2ug.org
Sent: Monday, July 30, 2007 8:35 PM
Subject: RE: [U2] RE: Cleaner Case Statement
- Original Message -
From: Jeff Flynt [EMAIL PROTECTED]
To: u2-users@listserver.u2ug.org
Sent: Tuesday, July 31, 2007 10:14 PM
Subject: RE: [U2] RE: Cleaner Case Statement
I typically use the full form of each structured statement and lay it out
in
the indented format. This is just coding
PROTECTED]
To: u2-users@listserver.u2ug.org
Sent: Monday, July 30, 2007 5:19 PM
Subject: RE: [U2] RE: Cleaner Case Statement
I see what you mean the indenting is off! No wonder it is hard for
you to follow!! (and no doubt you would have simply used a COPY
statement rather than writing
Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Allen E. Elwood
Sent: 31 July 2007 01:35
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] RE: Cleaner Case Statement
Don't judge him/her to fast or hard - notice that this is THE ONLY WAY
to write this
according
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] RE: Cleaner Case Statement
I think that CASE 1;Null is an old technique. If the prior conditions don't
prevail, then don't bother. Otherwise every IF statement with a THEN would
have ELSE NULL.
BTW, using IF X = 1 ELSE GOSUB 100 is also very hard
MAJ Programming skrev:
...
I've inherited code from an idiot programmer that looks like this:
OPEN FILE1 TO F1 THEN
OPEN FILE2 TO F2 THEN
OPEN FILE3 TO F3 THEN
LOOP WHILE READNEXT ID DO
READ REC FROM F1, ID THEN
WRITE REC ON F2, ID
] [mailto:owner-u2-
[EMAIL PROTECTED] On Behalf Of Mats Carlid
Sent: Monday, 30 July 2007 7:47 PM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] RE: Cleaner Case Statement
MAJ Programming skrev:
...
I've inherited code from an idiot programmer that looks like this:
OPEN FILE1 TO F1 THEN
OPEN FILE2
: RE: [U2] RE: Cleaner Case Statement
I see what you mean the indenting is off! No wonder it is hard for
you to follow!! (and no doubt you would have simply used a COPY
statement rather than writing a program?)
Ross Ferris
Stamina Software
Visage Better by Design!
-Original Message
On 7/27/07, MAJ Programming [EMAIL PROTECTED] wrote:
[snip]
BTW, using IF X = 1 ELSE GOSUB 100 is also very hard to read. Sure it
compiles but source code should be readable for the programmers who have
to
visually interpet these things. EVERY IF should have an THEN as it's
predominately a
]
To: u2-users@listserver.u2ug.org
Sent: Saturday, July 28, 2007 2:10 AM
Subject: Re: [U2] RE: Cleaner Case Statement
On 7/27/07, MAJ Programming [EMAIL PROTECTED] wrote:
[snip]
BTW, using IF X = 1 ELSE GOSUB 100 is also very hard to read. Sure it
compiles but source code should be readable
PROTECTED]
To: u2-users@listserver.u2ug.org
Sent: Saturday, July 28, 2007 2:10 AM
Subject: Re: [U2] RE: Cleaner Case Statement
On 7/27/07, MAJ Programming [EMAIL PROTECTED] wrote:
[snip]
BTW, using IF X = 1 ELSE GOSUB 100 is also very hard to read. Sure it
compiles but source code should
25, 2007 12:48 PM
Subject: [U2] RE: Cleaner Case Statement
Bill Brutzman asked:
How can this structure be cleaned-up?
snip
begin case
case Ans = 'A' ; gosub Check.A
case Ans = 'B'
case Ans = '2' ; gosub Check.B
end case
so that the gosub Check.B
19 matches
Mail list logo