storing multiple values in a array variable

Am using a find command in my script .The output may be one or more. I need to store those values in a array and need to access those. Am unable to find the solution . Any help on this will be helpful.

if [condition]
< code>
else a=<find command output which gives the file name either 1 or more>
if 1 or more values need to perform task on each value. Since my code is working fine for one value got stuck up with multiple values.

What's your system? What's your shell?

Storing huge lists of things in the shell is a bad idea. It wastes memory and CPU time, and the size limit for shell variables can often be smaller than you think. Some shells only give you 4 kilobytes -- a page or two of text at most. Do you truly need to store them all? Will a loop do?

find ... | while read FILE
do
        echo "Processing $FILE"
done