XLATE IF MULTIPLE CONDITIONS

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf XLATE IF MULTIPLE CONDITIONS

  • Creator
    Topic
  • #54204
    Femina Jaffer
    Participant

      Hello Friends,

      I am having a difficult time evaluating multiple conditions in an xlate…I need to suppress values IF OBR 25 NE TO  F OR C AND OBR 4 NE TO PUNC OR FAST OR CMOS.

      I have the following IF logic which doesn’t work…

      IF

      1(0).1(0).0(0).OBR(0).#25 eq =F || 1(0).1(0).0(0).OBR(0).#25 eq =C ||

      1(0).1(0).0(0).OBR(0).#4(0).[0] ne =PUNC || 1(0).1(0).0(0).OBR(0).#4(0).[0] ne =FAST

      THEN CONTINUE

      ELSE

      SUPPRESS

      It was working fine until I added the OBR 4 logic to the IF statement.

      Thanks,

      FJ

    Viewing 1 reply thread
    • Author
      Replies
      • #80574
        Femina Jaffer
        Participant

          Never mind friends, I finally got it.

          IF

          1(0).1(0).0(0).OBR(0).#4(0).[0] ne =FAST && 1(0).1(0).0(0).OBR(0).#4(0).[0] ne =PUNC && 1(0).1(0).0(0).OBR(0).#4(0).[0] ne =CMOS &&

          1(0).1(0).0(0).OBR(0).#4(0).[0] ne =FAXX

          &&

          (1(0).1(0).0(0).OBR(0).#25 eq =F || 1(0).1(0).0(0).OBR(0).#25 eq =C)

          DO THE FOLLOWING

          ELSE

          SUPPRESS

        • #80575
          Sameer Shivapur
          Participant

            In above you missing && so this should be…

            IF

            1(0).1(0).0(0).OBR(0).#25 eq =F || 1(0).1(0).0(0).OBR(0).#25 eq =C &&

            1(0).1(0).0(0).OBR(0).#4(0).[0] ne =PUNC || 1(0).1(0).0(0).OBR(0).#4(0).[0] ne =FAST

            THEN CONTINUE

            ELSE

            SUPPRESS

        Viewing 1 reply thread
        • The forum ‘Cloverleaf’ is closed to new topics and replies.