Read multiple input from CLI :ksh

Hi folks..

i got a requirement to red multiple directories from STDIN and store them to a variable.

ex:-

echo "Enter directory to add:"
echo " Enter directory to add:"

read value till there is input and when there is no input close the read loop and store variable into an array

@FS [/ ,/var,/tmp]

any help on this is much appreaciated

Is this for a class? What have you tried so far? Please post the code.