Subject Re: [IBO] IBOQuery Locate bug IBO 4.6A
Author Daniel Rail
Hi,

At May 10, 2006, 8:39 PM, Jason Wharton wrote:

> I've gone ahead and added in the parenthesis.
> It seems odd to me that this could make a difference.

It's possible that the compiler might have interpreted the line:
if not Prepared or not SQLIsValid then

like this:
if not (Prepared or not SQLIsValid) then

instead of:
if (not Prepared) or (not SQLIsValid) then

As, most people might have expected. I had the same odd behavior just
recently in one of my applications that I'm working on. And, that was
in my own code, not IBO.

--
Best regards,
Daniel Rail
Senior System Engineer
ACCRA Group Inc. (www.accra.ca)
ACCRA Med Software Inc. (www.filopto.com)