Semantics of Equals
Jay R. Ashworth
jra at baylink.com
Mon Jul 25 13:19:11 PDT 2005
On Mon, Jul 25, 2005 at 02:38:38PM -0500, Bill Akers wrote:
> > Equals means equals. It doesn't mean "equals through the last
> > character position of the shorter string".
>
> Your argument would then be that mathematically '5' does not equal
> '5.00'?
There are two separate issues at hand here.
Even in filePro, "5" eq "5.00" as long as both variables are numeric in
type.
String equality in filePro is a different matter, and the topic of most
of my screed, although I admit I wasn't clear enough in my phrasing.
filePro would also say that those two variables were eq if they were
both strings -- and Mark and I assert that it should not: they're of
different lengths, and thereby inherently not equal.
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
"...the rough cannot be mean and the love cannot be true, and that's
as wise as I can get at 10 o'clock in the morning."
-- Bill Shatner, on being an anti-hero.
More information about the Filepro-list
mailing list