Hi, not sure if the following is a bug per se, but the error message is strange in any case:

<hansl>

open denmark

matrix dummymat = {3, 0.5; 2, 0.6; 4, 0.9}
strings somenames = defarray("ha", "ho", "he")

modprint dummymat somenames # works

extram = {-3}
somenames += "extra"

modprint dummymat somenames extram # works


modprint dummymat somenames {-3} # fails

</hansl>

So it looks as if the vector at the end of the modprint command cannot be given as a literal. This looks like a bug to me, but not sure. The error message, however, claims that the strings array before it is causing problems, and I guess that's just wrong.

thanks

sven
_______________________________________________
Gretl-devel mailing list -- gretl-devel@gretlml.univpm.it
To unsubscribe send an email to gretl-devel-le...@gretlml.univpm.it
Website: 
https://gretlml.univpm.it/postorius/lists/gretl-devel.gretlml.univpm.it/

Reply via email to