Am 15.11.2012 16:30, schrieb Henrique Andrade:
Em 15 de novembro de 2012, Sven Schreiber escreveu:

(...)

Yes that's really weird...

I guess that Allin will spot the bug cause anyway, but out of curiosity,
what happens if you use 'loop j=(i+1)..(i+2)'?

Dear Sven, thanks for your answer. When I use "loop j=(i+1)..(i+2)" the
same problem occurs: Gretl crashes.

This is working:
<hansl>
loop i = 1..6 -q
    loop j = i..(i+2) -q
        print "Hello World!"
    endloop
endloop
<hansl>

And in terms of 'the loop line' string-substitution generates also an error:
(my challenge solution of the interaction stuff)

<hansl>
loop for i=1.. nelem(Flist) -q
    scalar start2=i+1
      loop for j=start2.. nelem(Flist) -q
          loop foreach k Dum_$i -q            # Message: Dum_  unknown instead of Dum_1 unknown
<hansl>



Best regards,
Henrique Andrade



_______________________________________________
Gretl-users mailing list
Gretl-users@lists.wfu.edu
http://lists.wfu.edu/mailman/listinfo/gretl-users