how to return array frm a local function to main.???

On the right, at the top of the forum, there is a box labeled "SEARCH".
Type in "return array" and select "this forum" from the drop-down box.

(The very first item returned has some good answers. Dave Sinkula's third response [post #7] is probably what you are looking to do?)

Hope this helps.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.