[Gretl-devel] Bug using print command in a loop?
Riccardo (Jack) Lucchetti
r.lucchetti at univpm.it
Tue Oct 16 07:19:17 EDT 2007
On Tue, 16 Oct 2007, andreas.rosenblad at ltv.se wrote:
> When running the following script in gretl (latest Windows snapshot on XP)
>
> matrix A = {1,2,3;1,2,3}
> print A
> loop for i=1..3
> print A
> endloop
>
> I got the following result:
[...]
> Command has insufficient arguments
>>> print A
>
> I.e., I can print a matrix from outside a loop, but not from inside a loop.
>
> Is this a bug or am I doing something wrong?
To me, it's a bug. It's now fixed in CVS.
Allin, the fix was a one-liner in lib/src/interact.c. Could you please
check I haven't done anything stupid?
Riccardo (Jack) Lucchetti
Dipartimento di Economia
Università Politecnica delle Marche
r.lucchetti at univpm.it
http://www.econ.univpm.it/lucchetti
More information about the Gretl-devel
mailing list