AX2009 - Return Values of list,array or table - how?

How to return values that are of type list,array or even a table…??? in AX2009

edited by moderator to include a meaningful title