[Gretl-devel] genr command line length bug
Sven Schreiber
svetosch at gmx.net
Mon Apr 14 09:04:29 EDT 2008
Am 14.04.2008 14:22, Riccardo (Jack) Lucchetti schrieb:
> In principle, this is a bug; as such, it needs to be fixed.
I'm glad you agree ;-)
>
> However, let me point out that 4400 bytes as a command line is *insane*
> by any coding standard. If the worst comes to the worst, use functions
> and lists for such things. I'm unable to imagine a real-world case when
> a genr line cannot be tidied up decently (of course, it may be my
> limited imagination).
That approach was the most straightforward, especially given that the
task was done by someone who is not familiar with programming in gretl
script. Of course it could be rewritten, but that's not the point.
>
> The fix I'd propose would be: when a command line exceeds n bytes, just
> stop execution and issue an error message, possibly complete with creative
> expletives. :-)
Fine with me, but that's just what right now gretl is supposed to do for
n=8192 or so, at least AFAIK. So something else is wrong it seems.
thanks,
sven
More information about the Gretl-devel
mailing list