|
|
|
|
|
by CyberDildonics
1951 days ago
|
|
I explained the problem already (the error does not show up where it actually happens). I also explained a huge difference between the two already (you know how large an array is and can detect an out of bounds access when it happens). |
|
We just thought it would be clever to return undef if you were out of bounds, which tcl code would see as "" which is what you'd get in tcl. But Little code could actually tell you are past the end.
In my mind, which many have argued isn't the best, it's a reasonable design.
You keep trying to push backwards to a design point where arrays are fixed in size at declaration and that is not how tcl (or Little) works.