On Wed, 18 Nov 2009, Sven Schreiber wrote:
> Yes, it did. But it raised a few more questions...
> Would it have been the same to use @i instead of $i?
As far as I understand, $i is only valid in connection with loop
indexing, and @i is only when dealing for accessing the content
of string variables ("named strings"), which are relatively
recent in gretl.
Yes. It would probably be more consistent to use "@i" rather than
"$i" to access the string value of a loop index, but the "$i"
syntax in loops predates the use of "@" for the general case of
string substitution, and we didn't want to make a backward
incompatible change.
Allin Cottrell