Unrecognizable lexical token when using 1/2 in IF statement

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Unrecognizable lexical token when using 1/2 in IF statement

  • Creator
    Topic
  • #52056
    Darshak Shah
    Participant

      In IF statement, my string has a value 1/2, its giving me the following error

      2(0).1(0).1(0).0(%g1).OBX(%s1).#3(0).[0]  eq =Prepared in 1/2 Units

      IF expression parse failed: Unrecognizable lexical token

      Error occurred at: ‘/2 Units

      I have tried escaping the 1/2 with the following

      1/2 but it does not work.

      thanks in advance

    Viewing 1 reply thread
    • Author
      Replies
      • #72892
        Kevin Crist
        Participant

          can you set the “Prepared in 1/2 Units” to a variable like @half?

        • #72893
          Darshak Shah
          Participant

            Kevin,

            Thank you, it worked

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