From: Philippe Couture (philippecouture@yahoo.com)
Date: Tue Apr 18 2006 - 21:07:39 GMT-3
Hi Kelly,
Try the pound sign to begin a comment in your code:
# Example of a comment
Also, if you want to put a comment at the end of the
line, you need to put ";" before the comment, such as:
set x 60 ; # another comment
Phil
----- Original Message ----
From: kelly@cliffhanger.com
To: JB <jellyboy@gmail.com>
Cc: "ccielab@groupstudy.com" <ccielab@groupstudy.com>
Sent: Tuesday, April 18, 2006 6:00:41 PM
Subject: Re: Adding tcl script comments
I don't know but the code looks similar to 'C'.
Try using
/* comment */
-- kelly http://home1.gte.net/res0psau/index.html#Hang-Gliding-Stuff-- -- \ / \/ /\ / \ -- --
Quoting JB <jellyboy@gmail.com>: Hi, when I compose a tcl script I want to include comments into it so I document the script: tclsh foreach addr { !!want to place comment here!! 1.1.1.1 } {ping $addr} ++++++++++++++ tclsh foreach ip { !!want to place comment here!! 1.1.1.1 } {puts [exec ping $ip]} Does anyone from the group know how to add comments? I have tried ! and #. Cheers, JB _______________________________________________________________________ Subscription information may be found at: http://www.groupstudy.com/list/CCIELab.html
This archive was generated by hypermail 2.1.4 : Mon May 01 2006 - 11:41:58 GMT-3