TOC PREV NEXT INDEX

 


Suggestion for Upgrading


Upgrade warnings indicate features that have changed in a later version.


namespace foo {
    variable bar 0
}

When [incr Tcl] was upgraded to 3.0, it inherited the Tcl namespace command. The syntax of defining a namespace has changed from older versions of [incr Tcl] because of this. With earlier versions of [incr Tcl], correct usage was:


namespace foo {body}

With [incr Tcl] 3.0 and later, correct usage is shown below:


namespace eval foo {body}



http://www.ajubasolutions.com
Voice: (650) 210-0100
Fax: (650) 210-0101
support@ajubasolutions.com
TOC PREV NEXT INDEX