New feature: Added method nx::Object->"info consts" A "const" is a variable that cannot be altered later. So far, such constant variables h…
Show more
New feature: Added method nx::Object->"info consts"A "const" is a variable that cannot be altered later. So far, suchconstant variables have to be created via the Tcl9 "const" cmd, likein the example below. The introspection method "/obj/ info consts" isvery similar to "/obj/ info vars", but it lists only unmodifiablevariables. nx::Object create o { # # Create a "const" instance variable # const :x 1 set :y 2 ... } puts [o info consts] puts [o info vars]
Show less