On 3/2/2011 2:18 PM, David Wolverton wrote:
By jove, you're right! In this example, you COULD shorten the clause and it
would work! I missed that!!
But back to the 'issue' I was raising, although in this example it's moot -
the generic statement was that 'IF ... # ... THEN' is 'bad style' ?? I
still have missed why that should be considered 'wrong' or 'bad'.
If it's purely style, then that's OK too and discussion over! Different
horses for different courses! But when someone tells me something is 'bad',
I want to know the reasons why so I can advance my understanding.
DW
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Steve Romanow
Sent: Wednesday, March 02, 2011 1:09 PM
To: U2 Users List
Subject: Re: [U2] Is this worth rewriting?
On 3/2/2011 2:05 PM, David Wolverton wrote:
As what if PARMS(7)<102,CM> = 0? 0 would 'fail' the 2nd test, but is
'not
blank'. So you cannot 'shorten' the clause at all. It either has to be =
""
or # "" in this case (not knowing anything about the data).
Adding a zero into the sum is basically a NOOP.
_______________________________________________
U2-Users mailing list
[email protected]
http://listserver.u2ug.org/mailman/listinfo/u2-users
_______________________________________________
U2-Users mailing list
[email protected]
http://listserver.u2ug.org/mailman/listinfo/u2-users
I like the way pylint nags me on my python code. I bet we could make a
unibasic lint.
http://www.logilab.org/card/pylintfeatures
_______________________________________________
U2-Users mailing list
[email protected]
http://listserver.u2ug.org/mailman/listinfo/u2-users