How to get an array out of a function in nav 2009?

Hi all… [D]

I want to get a decimal array as a return value of a function.

Anyone knows how to do this?

Does NAV supports output parameters, or can we return an array from a function.

Thanks…[:)]

Please help me anyone… [:(]

You cannot use it as the return value like ArrayVar := Function;

Instead use it as a parameter of the var type in the function declaration.

Did you get an answer to your question? Did it help you? The members and moderators here on DUG use our spare time and help you for free, all we ask in return is that you spent a few seconds to let us know if we helped you solve your problem.

If any of the suggestions helped you solve your question/problem, then please click the “Verify Solution” on the answer that helped you, so that we can see that your problem is now “resolved”. Otherwise let us know how if there is something else you like to know.