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 rhobart
2 days ago
tcl by rhobart
2 days ago
tcl by rhobart
3 days ago
tcl by Bradipo
3 days ago
tcl by rhobart
3 days ago
tcl by sssc
7 days ago
tcl by mookie
23 days ago
tcl by JMN
31 days ago
tcl by JMN
31 days ago
tcl by mookie
32 days ago
Submit
New paste
Documentation
From Jabber