Replacing with E

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Replacing with E

  • Creator
    Topic
  • #54786
    Usman Azher
    Participant

      Hello,

      I have an ORU with a UNC path in OBX-5. The UNC path has in it and I was wondering how I could replace it with E in the message. I tried the following in an inline tcl proc but was not successful

      set PLACER2 [lindex $xlateInVals 0]

             set xlateOutVals [string map { E} $PLACER2]

      Now I can not open my translation and am getting the following error:

      EOF before end of TCL list

      Thank you,

      Usman Azher

    Viewing 1 reply thread
    • Author
      Replies
      • #82987
        Charlie Bursell
        Participant

          Double the backslashes.  Also xlateOutVals should be a list

          set xlateOutVals

            ]

          1. #82988
            Usman Azher
            Participant

              Charlie,

              That worked perfectly fine. Thank you very much for your help.

              Usman Azher

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