Subject | Re: [IBO] IBOQuery Locate bug IBO 4.6A |
---|---|
Author | Daniel Rail |
Post date | 2006-05-11T09:31:11Z |
Hi,
At May 10, 2006, 8:39 PM, Jason Wharton wrote:
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)
At May 10, 2006, 8:39 PM, Jason Wharton wrote:
> I've gone ahead and added in the parenthesis.It's possible that the compiler might have interpreted the line:
> It seems odd to me that this could make a difference.
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)