Try putting your array name after the DEF statement's OUT, like this: DEF x OUT y[] or DEF x OUT y$[]