| [Top] | [Contents] | [Index] | [ ? ] |
Tcl programmers may note that Tcl arrays are actually
hashes, and therefore can take any string as the index, regardless of
whether it is a number or not. While this is internally true of Bunao
arrays as well, the Bunao expression parser provides no means of
referencing arrays with constant non-numerical arguments: A(foo)
translates to $A($foo) in Tcl. Of course, you are free to assign
a string to foo and reference a string index indirectly, but more
commonly Bunao array indices are simply constant integers. Therefore,
Bunao arrays are functionally more like real arrays and not hashes, in
that they require integer indices.
It's not that
STD:Read Formatted File can't live in a loop, it's just
putting it in one isn't very useful, since it will just do the same
thing over again.