Genetric Tcl proc passing file name as Argument

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Genetric Tcl proc passing file name as Argument

  • Creator
    Topic
  • #53310
    Raj
    Participant

      I want create genric tcl proc that can filename as argument used in TPS Directory parse Option under FTP Option.I am unable to know what actually is wrong

    Viewing 2 reply threads
    • Author
      Replies
      • #77239
        James Cobane
        Participant

          I think you just need to remove the double colons in your statement:

              set module  tpsGenericFileParse/$::HciConnName

          Change it to:

             set module  tpsGenericFileParse/$HciConnName

          Hope this helps.

          Jim Cobane

          Henry Ford Health

        • #77240
          Charlie Bursell
          Participant

            Jim:

            $::HciConnName  should be OK.  the :: refers to the global namespace.  It is the same ss this

            global HciConnName

            $HciConnName

          • #77241
            Charlie Bursell
            Participant

              Your problem is here

              set module  tpsGenericFileParse/$::HciConnName     # it describes where the text came from

              If you put a comment on the same line you must terminate with a semicolon (;)

              Try this

              set module  tpsGenericFileParse/$::HciConnName     ;# it describes where the text came from

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