searching through multiple OBX

Clovertech Forums Read Only Archives Cloverleaf Tcl Library searching through multiple OBX

  • Creator
    Topic
  • #51359
    Cynthia Briscoe
    Participant

      I wrote a proc to search for a specific string in the OBX segment of certain messages that have multiple OBX segments.  If it finds the string it continues the message and if not kills the message.  It only works if the specific string occurs in every OBX and I need it to work if it appears in any OBX not all OBX.  Any clues?

    Viewing 0 reply threads
    • Author
      Replies
      • #69874
        Jim Kosloskey
        Participant

          I don’t know what method you are using to work through the repetitions, however, if it a loop then inside your loop when you determine you have a true condition, issue a break (depending on the loop technique it could actually be the Tcl break command).

          email: jim.kosloskey@jim-kosloskey.com 29+ years Cloverleaf, 59 years IT - old fart.

      Viewing 0 reply threads
      • The forum ‘Tcl Library’ is closed to new topics and replies.