summaryrefslogtreecommitdiffhomepage
path: root/tcl.html.markdown
diff options
context:
space:
mode:
authorPeter Wu <peter@lekensteyn.nl>2016-06-06 11:47:47 +0200
committerven <vendethiel@hotmail.fr>2016-06-06 11:47:47 +0200
commit3684cae8c7632a7519eaf13b0a59141e4f068888 (patch)
treeed72784e47359accc869f3b60b88c7a702a40c07 /tcl.html.markdown
parent4e118150a2ba76129389d6f57ff86f942fc50863 (diff)
tcl: fix error in no-braces example (#2274)
Diffstat (limited to 'tcl.html.markdown')
-rw-r--r--tcl.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/tcl.html.markdown b/tcl.html.markdown
index 4ff1d3cc..9118081d 100644
--- a/tcl.html.markdown
+++ b/tcl.html.markdown
@@ -253,7 +253,7 @@ proc greet {greeting name} {
# As noted earlier, braces do not construct a code block. Every value, even
# the third argument of the "proc" command, is a string. The previous command
# rewritten to not use braces at all:
-proc greet greeting\ name return\ \"Hello,\ \$name!
+proc greet greeting\ name return\ \"\$greeting,\ \$name!\"