browse keys (@bk)
Jay R. Ashworth
jra at baylink.com
Tue Jul 20 11:55:40 PDT 2004
On Tue, Jul 20, 2004 at 02:44:09PM -0400, Kenneth Brody wrote:
> > And, for what it's worth, if it does work that way despite my test,
> > then John was wrong, Wrong, WRONG! (Mooo ha ha ha .... :-)
> >
> > And the original coder was doing it right.
>
> The original coder had lines like:
>
> > If: @bk = "s" or @bk = "S"
>
> This is redundant, since both tests are equivalent.
>
> John was pointing this out, saying the code looked like the original
> programmer thought you needed both tests.
I'll have to re-read it: it sounded to *me* like John's point was based
on the never-upper-case-ness of @BK, not on the pairs of comparisons,
but I can see how that could be easily misunderstood.
Of course, unlike my test code, his would work in either order, since
it's an OR.
Oops. Sorry.
Cheers,
-- jra
--
Jay R. Ashworth jra at baylink.com
Designer Baylink RFC 2100
Ashworth & Associates The Things I Think '87 e24
St Petersburg FL USA http://baylink.pitas.com +1 727 647 1274
"You know: I'm a fan of photosynthesis as much as the next guy,
but if God merely wanted us to smell the flowers, he wouldn't
have invented a 3GHz microprocessor and a 3D graphics board."
-- Luke Girardi
More information about the Filepro-list
mailing list