Re: [XOTcl] Referencing values in an array



Daniel Kirsch wrote:
MyShape shape $i;
set shapes($i) shape;

Using the following structure instead leads to the wanted results:

MyShape shape$i $i;
set shapes($i) shape$i;

Thanks a lot to daapp on IRC for his great help.

Daniel
.