I think it'd be swell if namespaces and classes (really everything) allowed hidden variables. Currently if I put a hidden/private variable in a class or namespace and show namespaces or classes, it's visible.
delete symbols();
ns = New Namespace(
"some space",
{
__test = 14 ; a = 12 ; __test2 = 14 ;
}
);
c = Define Class(
"Test",
{
a = 0;
b = 0;
_init_ = Method({a, b},
a = a;
b = b;
);
nObs = 20 ;
addition = Method( {x, y},
(x + y) * nObs
);
append = Method( {a, b},
Char( a ) || " + " || Char( b )
);
__private = 22;
}
);
__test = 14;
Show Symbols();
show namespaces();
show classes();