Logical Operations

dschuchdschuch Dresden,Germany
edited 2:08PM 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 2:08PM
    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

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.