capital L

Kenneth Brody kenbrody at bestweb.net
Wed Feb 15 06:41:25 PST 2006


Quoting Fairlight (Wed, 15 Feb 2006 09:26:54 -0500):

> Simon--er, no...it was Lerebours, Jose--said:
> >
> > > I understand that using the COMPARE() function can get this job done
> > > as a couple people have suggested. What I *don't* understand is why
> > > using the character string value of "L" does NOT work.
>
> I don't know, but it's a valuable insight that it doesn't.  I'd always
> assumed that instr() was a 4GL wrapper around strstr().  Apparently not.
> That could have gotten me into big trouble had I depended on it.

So after >20 years of filePro compares being case-insensitive, you
didn't know that the compare would be case-insensitive?  Why is this
a surprise to _anyone_?

And, given that filePro fields are not C strings, why would you assume
that instr() is a wrapper for strstr()?  (Or any filePro field routine
being a wrapper for any C string function?)

--
KenBrody at BestWeb dot net        spamtrap: <g8ymh8uf001 at sneakemail.com>
http://www.hvcomputer.com
http://www.fileProPlus.com


More information about the Filepro-list mailing list