It allows you to create programs in a fraction of the time that a normal program would take because it gives you a system of commands that are very high level e.g to open and read the contents of a file you would could do the following
- Code: Select all
set fh [open somefile.txt r]
set data [read $fh]
close $fh
If you've ever tried that in C you'll know it takes much more effort because you need to consider managing the memory using 'malloc' and 'free' etc - just one more thing to think about but TCL manages all that for you.
Recently Ben asked about converting a data stream between two formats and I showed how you could solve the problem with TCL in this thread:
http://forum.best-microcontroller-projects.com/viewtopic.php?f=5&t=69
If you're interested in learning more send a blank email to learn_tcl@getresponse.com
(There won't be any information at the moment - this is just to see how many people are interested).
If you are interested please leave are reply to this post as well.
John
