Index: TODO =================================================================== diff -u -rf69de2050abfb8d71c92588c4d42d0cc1ea39aaf -re0419345b49587b5738f87c6d828dfc5ae4b3276 --- TODO (.../TODO) (revision f69de2050abfb8d71c92588c4d42d0cc1ea39aaf) +++ TODO (.../TODO) (revision e0419345b49587b5738f87c6d828dfc5ae4b3276) @@ -4578,20 +4578,21 @@ by using nx::configure trait-verbosity on|off +nx.tcl: +- renamed variable option "-config" to "-configurable" + to make its intention clearer + ======================================================================== TODO: - reconsider #? {c1 cget -mixin} "" ? {c1 cget -object-mixin} "" -- reconsider lower multiplicty on +- reconsider lower multiplicity on -object-mixin, -mixin... -- maybe rename nonpos arg "-config" of property/variable - to "-configurable"? (pro: more clearly, contra: longer) - do we need "config" as parameter property? - handling of "required" in reconfigure (see parameter-object-mixin-dependency in parameters.test) - handling of recreate (see regression test for class-level properties) Index: doc/example-scripts/container.tcl =================================================================== diff -u -re884c2b0d63fa1b5a691e866ccff8d4094a2a8e4 -re0419345b49587b5738f87c6d828dfc5ae4b3276 --- doc/example-scripts/container.tcl (.../container.tcl) (revision e884c2b0d63fa1b5a691e866ccff8d4094a2a8e4) +++ doc/example-scripts/container.tcl (.../container.tcl) (revision e0419345b49587b5738f87c6d828dfc5ae4b3276) @@ -129,14 +129,14 @@ :variable values {} :variable index {} - :property key + :public method index {} { return ${:index}} :public method new {args} { set item [${:memberClass} create [:]::[:autoname ${:prefix}] {*}$args] if {[info exists :key]} { - set value [$item ${:key}] + set value [$item cget -${:key}] set pos [lsearch -bisect ${:values} $value] set :values [linsert ${:values} [expr {$pos + 1}] $value] set :index [linsert ${:index} [expr {$pos + 1}] $item] @@ -154,7 +154,6 @@ set :index [lreplace ${:index} $pos $pos] next } - } # Create a container for class +D+ with key +name+: Index: doc/next-migration.html =================================================================== diff -u -rea3bbe8b1039c45baa2c027c005151e04e57d4b1 -re0419345b49587b5738f87c6d828dfc5ae4b3276 --- doc/next-migration.html (.../next-migration.html) (revision ea3bbe8b1039c45baa2c027c005151e04e57d4b1) +++ doc/next-migration.html (.../next-migration.html) (revision e0419345b49587b5738f87c6d828dfc5ae4b3276) @@ -4621,18 +4621,20 @@ /obj/ info lookup configure parameters ?pattern? + # "info lookup configure syntax" returns syntax of # a call to configure in the Tcl parameter syntax /obj/ info lookup configure syntax +# short form +/obj/ info configure # Obtain information from a parameter # (as e.g. returned from "info configure # parameters"). /obj/ info parameter name /parameter/ -/obj/ info parameter syntax /parameter/ - +/obj/ info parameter syntax /parameter/ @@ -6272,7 +6274,7 @@