Do not use ({}) for define empty array, the correct way is :local arrayvar [:toarray ""] I myself used that method once suggested by another user, but it backfired because, although I don't quite remember now how, it had unwanted effects that backfired on me in programming. IT SEEMS to wo...