mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-07-31 12:00:34 +02:00
tcl: fix error in no-braces example (#2274)
This commit is contained in:
@@ -253,7 +253,7 @@ proc greet {greeting name} {
|
|||||||
# As noted earlier, braces do not construct a code block. Every value, even
|
# 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
|
# the third argument of the "proc" command, is a string. The previous command
|
||||||
# rewritten to not use braces at all:
|
# rewritten to not use braces at all:
|
||||||
proc greet greeting\ name return\ \"Hello,\ \$name!
|
proc greet greeting\ name return\ \"\$greeting,\ \$name!\"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user