access oo object variables
Posted to
tcl
by apn at Fri Jan 03 05:56:34 GMT 2020
view raw
% oo::class create C {
variable
x ; constructor {} {
set
x 42} }
::C
% C create o
::o
%
set
nso [
info
object
namespace
o]
::oo::Obj65
%
set
${nso}
::x
42
Recent Posts
tcl by iobates
1 days ago
tcl by mookie
4 days ago
tcl by sebres
6 days ago
tcl by iobates
23 days ago
tcl by iobates
23 days ago
tcl by iobates
23 days ago
tcl by FLORENTIS
27 days ago
tcl by Florentis
27 days ago
tcl by schelte
32 days ago
tcl by iobates
32 days ago
Submit
New paste
Documentation
From Jabber