mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-24 10:01:38 +00:00
commit
7fd4359c27
@ -422,8 +422,7 @@ eval {set name Neo}
|
|||||||
eval [list set greeting "Hello, $name"]
|
eval [list set greeting "Hello, $name"]
|
||||||
|
|
||||||
|
|
||||||
# Therefore, when using "eval", , use "list" to build
|
# Therefore, when using "eval", use "list" to build up the desired command:
|
||||||
# up the desired command:
|
|
||||||
set command {set name}
|
set command {set name}
|
||||||
lappend command {Archibald Sorbisol}
|
lappend command {Archibald Sorbisol}
|
||||||
eval $command
|
eval $command
|
||||||
|
Loading…
Reference in New Issue
Block a user