How to use Package Require

Clovertech Forums Read Only Archives Cloverleaf Tcl Library How to use Package Require

  • Creator
    Topic
  • #54162
    Andrea Mancini
    Participant

      Hi,

      I just downloaded a tps proc that calls hl7.tcl.  In the proc it uses “package require hl7”.  I am wondering how I add this package to my server.  Where do I copy it to,  do i have to index it and how?

      Thanks 🙂

    Viewing 1 reply thread
    • Author
      Replies
      • #80406
        Russ Ross
        Participant

          We created the following directory for our pakages:

          $HCISITEDIR/tclprocs/packages

          –> cd $HCISITEDIR/tclprocs/packages

          (hci@dotilhub1b) /cloverleaf/cis6.0/integrator/mda_global/tclprocs/packages
          –> ls -l
          total 192
          -rw-r–r–
          [code]–> cd $HCISITEDIR/tclprocs/packages

          (hci@dotilhub1b) /cloverleaf/cis6.0/integrator/mda_global/tclprocs/packages
          –> ls -l
          total 192
          -rw-r–r–

          Russ Ross
          RussRoss318@gmail.com

        • #80407
          Russ Ross
          Participant

            There is a known problem whith making packages in Cloverleaf 6.0 that is described at this link that might require you to construct and maintain the pkgIndex.tcl file maually using an editor:

            <a href="https://usspvlclovertch2.infor.com/viewtopic.php?p=28477#28477&#8243; class=”bbcode_url”>https://usspvlclovertch2.infor.com/viewtopic.php?p=28477#28477

            Russ Ross
            RussRoss318@gmail.com

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