Table Creator

Clovertech Forums Read Only Archives Cloverleaf Tcl Library Table Creator

  • Creator
    Topic
  • #47701
    garry r fisher
    Participant

      Hi,

      Attached (hopefully) is my attempt to write a little utility to convert a .csv (spreadsheet) file into a lookup table for use in Cloverleaf.

      It is written using VisualTcl so has a nice(?) GUI front end. The input and output file options allow standard browse windows so you can locate the file to convert and select the destination.

      I don’t always get files with only two columns in so the utility has an option to select the columns you want to use – note that the first column is always 0.

      If the file has come from a spreadsheet then it might still have column headings on, so if you select the ‘Remove Header’ box then the top line of the file will be ignored.

      Finally some files only have one side of a lookup – not a lot of use. so there is an option to ignore these lines.

      If you have any comments to would like something new adding then email me at garry.fisher/at/isoftplc/dot/com

      Regards

      Garry

    Viewing 1 reply thread
    • Author
      Replies
      • #56486
        garry r fisher
        Participant

          Hi,

          Trying to be too clever 😥

          tablecreator requires a full install of Tlc plus the graphics extensions which don’t come with a Cloverleaf install.

          To try andearn some forgivemess attached is a Windows executable version of the utilility. Those on other OS’s please help yourselves to the Tcl code.

          The file is a special type of Zip file as it includes all the necesary files to run it. Please rename the file back to .EXE for use. DO NOt unzip it unless you want to see the source code.

          Regards

          Garry

        • #56487
          garry r fisher
          Participant

            Hi,

            If anyone is interested in how I created a Tcl executable then checkout

            http://freewrap.sourceforge.net/

            The Freewrap utility does quite a bit more than just creating a standalone executable and can be used on both Windows and Unix.

            Regards

            Garry

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