Subject RE: [IBO] IBOQuery Locate bug IBO 4.6A
Author Jason Wharton
Can anyone confirm if the Compiler has changed its behavior or if there is a
compiler directive that could cause a difference?

I'm going through my code and looking for places to clean up. Fortunately,
there isn't a lot of places like this but I've found a few.

I guess its just better to be safe than brief.

Jason


> -----Original Message-----
> From: IBObjects@yahoogroups.com [mailto:IBObjects@yahoogroups.com]On
> Behalf Of Daniel Rail
> Sent: Thursday, May 11, 2006 2:31 AM
> To: IBObjects@yahoogroups.com
> Subject: Re: [IBO] IBOQuery Locate bug IBO 4.6A
>
>
> 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)