| |||||||||||
| |||||||||||
Comments in Tcl
It's always a good idea to comment your programs. OK - I know you know that, but I find it's always a good idea to remind people too!
In Tcl, you add a comment starting with a # character and really what you're adding is a "do nothing" command .... in other words, the # must appear where a command would normally start (at the beginning of a line, after a ; or after a { ) and the command will be terminated at the end of the line, but can be continued on to another line with a \ # comment \ puts hello puts world will just print out "world"! ..... (written 2005-06-16 23:15:15) Associated topics are indexed under T202 - Tcl/Tk - Tcl Fundamentals
Some other Articles
Wimbledon NeckImproved mining techniques! Is photoajustment an addiction? Want to be one better Comments in Tcl Graveyard pages Frightening and from-friend viruses and spams No Smoking Pubs Spotting a denial of service attack Walk in Bath 1780 posts, page by page
Link to page ... 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36 at 50 posts per pageThis is a page archived from The Horse's Mouth at http://www.wellho.net/horse/ - the diary and writings of Graham Ellis. Every attempt was made to provide current information at the time the page was written, but things do move forward in our business - new software releases, price changes, new techniques. Please check back via our main site for current courses, prices, versions, etc - any mention of a price in "The Horse's Mouth" cannot be taken as an offer to supply at that price. Link to Ezine home page (for reading). Link to Blogging home page (to add comments). |
| ||||||||||
PH: 0800 043 8225 or 01225 708225 • FAX: 0845 8382 405 or 01225 707126 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho | |||||||||||