First page Back Continue Last page Overview Image
8.5 Data Structures – False arrays
Arrays: Some buggy things are now caught and throwing errors.
global a(x)
→Creates an inaccessible scalar variable “a(x)”.
Because everything else in Tcl parses this as an array element.
upvar 1 a v(y)
→ Ditto