ChatGPT got it wrong. Easylanguage has both fixed length arrays and dynamic length arrays and they are declared differently. Here is the right way.
Use print blocks to determine that your variables are as you think they are!