Question about passing parameters

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Question about passing parameters

  • Creator
    Topic
  • #54445
    David Coffey
    Participant

      I know how to pass a parameter to a proc.  

      keylget args MSGID mh

      keylget args ARGS uarg

      set micro_list [keylget uarg MICRO]

      The entries to be passed in the list are: GNP, GPP, MSP STP and BSB KB.  

      How do I pass BSB KB as one item?  

      David Coffey

    Viewing 2 reply threads
    • Author
      Replies
      • #81500
        Jim Kosloskey
        Participant

          {BSB KB}

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

        • #81501
          Charlie Bursell
          Participant

            Enclose in quotes or braces

            Same as passing arguments to any procedure

          • #81502
            Steve Williams
            Participant

              David, you can use braces {BSB KB} or quotes “BSB KB” for passing args.

              I prefer to use quotes as it implies one item containing white space, where as braces can imply a list in TCL, even though it not always true.

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