On Sat, 9 Feb 2008, Sven Schreiber wrote:
I'm not complaining when gretl is tolerant, but I'm really
wondering why the
following script works in the sense that all 20 loop iterations are
performed, when I thought it should be interrupted after 10:
set loop_maxiter 10
i=1
loop 20
print i
i = i+1
end loop
It only applies to "while" loops. It's used to forcibly break
potentially infinite loops. Actually, "help set" could be a little more
explicit on this.
Riccardo (Jack) Lucchetti
Dipartimento di Economia
Università Politecnica delle Marche
r.lucchetti(a)univpm.it
http://www.econ.univpm.it/lucchetti