Dynamic Arrays in LotusScript

How do I re-write the above code so that the "sendTo" array can be declared dynamically (e.g. 1 to n) and so enable sending to more than 1 recipient but will work if we don't know how many recipients there are.

The recipients' names will be taken from a field (e.g. distribution list) with names separated by comma (,).