TCL Learning

  • Creator
    Topic
  • #54300
    Collin Praster
    Participant

    I am complete new to TCL and I was wondering if any one knew of some training for a begginer with no experience at all.  Cloverleaf focused if possible!

Viewing 8 reply threads
  • Author
    Replies
    • #80924
      Jim Kosloskey
      Participant

      Contact your Account Representative – Infor has a Tcl class and I believe it is Cloverleaf centric – then Intermediate (used to be Level 2) training builds on that foundation.

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

    • #80925
      Jeff Dinsmore
      Participant

      If you have a programming background, Tcl should be pretty simple to pick up.  If not, you have some more learning to do.

      Below are some online Tcl resources.

      I’d recommend you download ActiveTcl to your local PC and play with it there.  Cloverleaf may have some extensions that the stock ActiveTcl install does not – and vice-versa – but it will be close enough to learn Tcl basics.  Be sure to install the same version you’re running in Cloverleaf.

      If you have the time/funding, consider attending a Cloverleaf-specific Tcl class.

      The Tcl Developer site

      <a href="http://www.tcl.tk/doc/&#8221; class=”bbcode_url”>http://www.tcl.tk/doc/

      Learning Tcl from the Tclers Wiki

      <a href="http://wiki.tcl.tk/298?redir=20789&#8243; class=”bbcode_url”>http://wiki.tcl.tk/298?redir=20789

      Tcl discussion forums

      <a href="http://code.activestate.com/lists/group/tcl/&#8221; class=”bbcode_url”>http://code.activestate.com/lists/group/tcl/

      ActiveState’s ActiveTcl

      <a href="http://www.activestate.com/activetcl&#8221; class=”bbcode_url”>http://www.activestate.com/activetcl

      Jeff Dinsmore
      Chesapeake Regional Healthcare

    • #80926
      Brandon Grudt
      Participant

      The best thing you can do is tinker.  At least, that was the best way for me to learn.  I’m better with hands-on type things.  A few tips:

      – The testing tool in Cloverleaf is your best friend.  Save a test message as a txt file, and use the TPS testing tool.  Send it to the proc hcitpstestshowbydisp.  The result will show you both the output and disposition of the message, as well as any echoes that you put in your script.

      – Speaking of the testing tool, reverse engineering your current tps scripts will help you understand the function of a tps script.  Play with them, comment things out, echo variables to see what they are.  Just make sure not to overwrite any functional scripts that are currently in use in your environment.  Obviously, that would be a very bad thing…

      – Google is also your friend.  Prefix your search with “tcl” and you will typically find the exact thing you need.  Ideas would be “tcl get item from list” or “tcl search for string.”

      – The Intermediate Cloverleaf class will help you a lot, but my opinion is that you should be fairly competent with tcl before you enroll.  If you already have that foundation, you will learn a lot of cool tricks.  If you don’t have a decent understanding of tcl, you may lose a lot of the concepts as soon as you leave the training.

    • #80927
      Keith McLeod
      Participant

      Another possibility is to make use of the for_file command when using a newline delimited source file.

    • #80928
      Troy Morton
      Participant

      I have a Tcl CBT that I think was given to me by the instructor of my Cloverleaf Level II class back in the early 2000s.

    • #80929
      Charlie Bursell
      Participant

      The operative question here is “What is your programming background?”

      If you have a pretty good background in some other languages then Tcl should be easy to learn using some of the resources already stated.  Otherwise it could be hard and you may need some basic programming training.

      One of my biggest problems when I was teach Tcl is that people would show up with no programming background at all.  I would always tell them that I can teach Tcl in a week but I cannot teach programming in a week.  I think I was a sophomore in college before I could write a decent “Hello World!” program  ðŸ˜€

    • #80930
      Terry Kellum
      Participant

      I have two bibles above my desk.  One is the original, and the other was written by Brent B Welch (Fourth Edition).

      http://www.amazon.com/Practical-Programming-Tcl-4th-Edition/dp/0130385603

      (I like paper books…  ðŸ˜‰ )

    • #80931
      James Cobane
      Participant

      Another good book is “Tcl/Tk – A Developer’s Guide” by Clif Flynt.  Interestingly, I only paid about $20 for it new from Amazon, but I see now it has gotten a bit more expensive ($50-$60)…

      Jim Cobane

      Henry Ford Health

    • #80932

      I highly recommend this tcl tutorial. I will get you ready for the Intermediate class.

      https://www.tcl.tk/man/tcl8.5/tutorial/Tcl3.html

      -- Max Drown (Infor)

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

Forum Statistics

Registered Users
5,129
Forums
28
Topics
9,301
Replies
34,448
Topic Tags
288
Empty Topic Tags
10