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 iobates
13 days ago
tcl by iobates
13 days ago
tcl by iobates
13 days ago
tcl by FLORENTIS
17 days ago
tcl by Florentis
17 days ago
tcl by schelte
22 days ago
tcl by iobates
22 days ago
tcl by cgm
24 days ago
tcl by iobates
28 days ago
tcl by FM
32 days ago
Submit
New paste
Documentation
From Jabber