tcl: fix error in no-braces example (#2274)

This commit is contained in:
Peter Wu 2016-06-06 11:47:47 +02:00 committed by ven
parent 4e118150a2
commit 3684cae8c7

View File

@ -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!\"