Help with Keyed List Arguments

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Help with Keyed List Arguments

  • Creator
    Topic
  • #53388
    Gary Atkinson
    Participant

      I am trying to send this in as a key value pair in tcl proc –>

      {MAP \E\ ” ” \F\ ” ” \S\ ” ” \R\ ” ” \T\ “and”}

      I received this error–>

      hcitpstest: QDX_Tcl_SplitList(tps_escape_char

      {MAP {\E\ ) failed — unmatched open brace in list

      I have tried many combination, but still receive the unmatched open brace in list error.

      I want to pass this list to a string map in proc so I can reuse the proc.  One thing I tried was to just pass something like this–>

      {MAP {E “”}} and still received the same error…so it must be “” but a need those characters  ðŸ˜ˆ

      Anyone have any ideas?? 😮

    Viewing 1 reply thread
    • Author
      Replies
      • #77532
        Robert Kersemakers
        Participant

          Hi Gary,

          I think you need to put the mapping-sequence in braces:

          {MAP {\E\ ” ” \F\ ” ” \S\ ” ” \R\ ” ” \T\ “and”}}

          Oh wait, you already did. Maybe this?

          {MAP {\E\ { } \F\ { } \S\ { } \R\ { } \T\ “and”}}

          Zuyderland Medisch Centrum; Heerlen/Sittard; The Netherlands

        • #77533
          Gary Atkinson
          Participant

            yep {} worked!

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