Hi all,
OK so this isn't really a serious point, but when looking at old loop
code it occurred to me that the short switch "-q" (standing in for
--quiet) is ambiguous. Consider this:
<hansl>
q = 1
loop i = 1 .. 3 -q # up to 3 and quiet or up to 2 (3-1)?
print i
endloop
</hansl>
Again, now that we've had quiet loops per default for some years now,
this isn't an issue.
And gretl is getting this "right" in the sense that it depends on
whether there's a blank or not: 3 -q (quiet) vs. 3-q (=2). Nonetheless,
I wonder whether the short option forms are really wise to allow in such
contexts. Oh well.
thanks
sven
Show replies by date