home *** CD-ROM | disk | FTP | other *** search
/ ftp.mactech.com 2010 / ftp.mactech.com.tar / ftp.mactech.com / online / source / c / compilers / Tickle-4.0.sit.hqx / Tickle-4.0 / WorkSheet < prev    next >
Text File  |  1993-11-05  |  2KB  |  56 lines

  1. ###
  2. ### This is the distribution Worksheet. It will
  3. ### step you through a few things to get you
  4. ### started.
  5. ###
  6. ### These lines that begin with the '#' character
  7. ### are "comments" to the tcl interpretter, so the
  8. ### interpretter will ignore these lines if it sees
  9. ### them.
  10. ###
  11. ### This window is a "tickle window" and it has one
  12. ### feature that normal text windows lack -- it has
  13. ### a tcl interpretter "attached" to it. That means
  14. ### that is becomes a tcl worksheet for you. In fact
  15. ### *any* text window that you open in Tickle is a
  16. ### "tickle window" and contains a tcl interpretter.
  17. ###
  18. ### To cause the tcl interpretter in your window to
  19. ### execute some tcl code, you simply select the text
  20. ### you want executed and press Enter (or Apple-Return).
  21. ### This will feed the code into the interpretter and
  22. ### paste the results of the interpretation into the
  23. ### window right after the selection. To see this,
  24. ### select text in the line after this comment and 
  25. ### press the Enter key to see its results:
  26. puts stdout "Hello, this is Tickle!"
  27.  
  28.  
  29. ### Very good! You just ran a tcl script that printed
  30. ### a simple message. Not select the line after this
  31. ### comment and press Enter and get a file listing:
  32. ls -CF
  33.  
  34.  
  35. ###
  36. ### There is a great deal of online help. Each of
  37. ### the commands below will open a new window showing
  38. ### you some of this help. Remember to close these
  39. ### windows when you are done reading them so that you
  40. ### do not create too many windows!
  41. ###
  42. help help
  43. help tcl
  44. help tcl:control
  45. help tcl:control:for
  46.  
  47.  
  48. ### If you wish to run the standard tcl test suite
  49. ### (with modifications) select the next two lines
  50. ### press the "Enter" key.
  51. cd :tcl:tests
  52. source all
  53.  
  54.  
  55. ### Now read the manuals...
  56.