What does this error mean for ‘can’t read “dispList”; no such variable

Clovertech Forums Cloverleaf What does this error mean for ‘can’t read “dispList”; no such variable

  • Creator
    Topic
  • #119348
    Tom Gilbert
    Participant

      Failed to source filtered file: can’t read “dispList”: no such variable

      Please let me know if you need more info…

    Viewing 0 reply threads
    • Author
      Replies
      • #119349
        Peter Heggie
        Participant

          Do you get that error in the Testing Tool?

          I get that error when I misspell the variable, or I put the variable outside the body {} of the Run mode code block.
          proc ADT_filter { args } {

          keylget args MODE mode ;# Fetch mode

          switch -exact — $mode {
          start {
          return {}
          }
          run {
          keylget args MSGID mh
          set dispList “”
          ….
          <functional code>
          ….
          lappend dispList “CONTINUE $mh”
          return $dispList
          }
          }
          }

          Peter Heggie

      Viewing 0 reply threads
      • You must be logged in to reply to this topic.