Attachment "1092508.patch" to
ticket [1092508fff]
added by
dgp
2005-01-05 00:16:24.
? 1092508.patch
Index: html/Tcl1.html
===================================================================
RCS file: /cvsroot/tcl/tcltutorial/html/Tcl1.html,v
retrieving revision 1.4
diff -u -r1.4 Tcl1.html
--- html/Tcl1.html 4 Jan 2005 13:45:04 -0000 1.4
+++ html/Tcl1.html 4 Jan 2005 17:12:13 -0000
@@ -60,14 +60,15 @@
<pre class="example">
puts "Hello, World - In quotes" ;# This is a comment after the command.
- puts {Hello, World - In Braces} # *Error* - there is no semicolon!
+ # This is a comment at beginning of a line
+ puts {Hello, World - In Braces}
+ puts {Bad comment syntax example} # *Error* - there is no semicolon!
puts "This is line 1"; puts "this is line 2"
puts "Hello, World; - With a semicolon inside the quotes"
- # Strings don't need to be quoted unless they contain white
- # space:
+ # Words don't need to be quoted unless they contain white space:
puts HelloWorld
</pre>
<div class="nav"><a href="Tcl0.html">Previous lesson</a> | <a href="tcltutorial.html">Index</a> | <a href="Tcl2.html">Next lesson</a></div>