mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 17:41:41 +00:00
[tcl/en] Fix typos
This commit is contained in:
parent
bb8342ca4c
commit
da58d73ad0
@ -169,7 +169,7 @@ namespace eval people {
|
||||
|
||||
|
||||
#The full name of a variable includes its enclosing namespace(s), delimited by two colons:
|
||||
set greeting "Hello $people::person::name"
|
||||
set greeting "Hello $people::person1::name"
|
||||
|
||||
|
||||
|
||||
@ -189,7 +189,7 @@ set greeting "Hello $people::person::name"
|
||||
namespace delete ::
|
||||
|
||||
|
||||
# Because of name resolution behaviour, its safer to use the "variable" command to declare or to assign a value to a namespace.
|
||||
# Because of name resolution behaviour, it's safer to use the "variable" command to declare or to assign a value to a namespace.
|
||||
namespace eval people {
|
||||
namespace eval person1 {
|
||||
variable name Neo
|
||||
|
Loading…
Reference in New Issue
Block a user