not working globals? :O
Posted to
tcl
by partymola at Thu Mar 29 14:31:58 GMT 2007
view raw
%
set
NAME "John Doe"
John Doe
%
proc
test {} {
set
latribs "name surname"
global
[
string
toupper
$latribs
]
set
NAME "Paul Allen"
}
% test
Paul Allen
%
puts
$NAME
John Doe
Recent Posts
tcl by mookie
2 hours ago
tcl by cgm
1 days ago
tcl by egavilan
7 days ago
tcl by smlckz
8 days ago
tcl by Guest86
13 days ago
tcl by mookie
15 days ago
tcl by greycat
20 days ago
tcl by mookie
27 days ago
tcl by mookie
27 days ago
tcl by mookie
33 days ago
Submit
New paste
Documentation
From Jabber