[Gretl-devel] for loops too restrictive?

Sven Schreiber svetosch at gmx.net
Mon Feb 4 09:48:29 EST 2008


Hi,
why is the following script invalid ("end index must be greater than 
start index")

<script1>
loop for i=1..1
   print "check"
end loop
</script1>

when the next equivalent one works fine?

<script2>
lagorder = 1

loop for i=1..lagorder
   print "check"
end loop
</script2>

thanks,
sven





More information about the Gretl-devel mailing list