Logical Operations

dschuchdschuch Dresden,Germany
edited 6:25AM in FastReport 2.xx VCL
Hi @ all,

have everyone else noticed mistakes with logical operations?

I noticed that sth like

IF xxx AND NOT yyy
will always return FALSE; but If i write

IF xxx THEN IF NOT yyy THEN

everything works fine.

Thanks for comments!

Comments

  • edited 6:25AM
    Hi!

    If You use more than one logical expressions in your conditional statements and there is a NOT operator then place () around the member containing the NOT operator.

    In your case: IF xxx AND (NOT yyy )

    This caused "List index out of bounds: -1" in previous FR versions. Try this modification. Maybe this will help You.

    Regards:Alex

Leave a Comment