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