sorry for repeated posting but I am new to this forum and the question format changed after posting it. I thought to repost it again. Sorry.
Here's the output of your script John.
.
but can you pls explain how do i control the array size?
for example:
EX1:
123 in an array, 456 in an array and 789 in an array
Ex2:
1234 in an array, 5678 in an array....
also can anybody let me know if there is any good documentation for dummies to learn subroutines. Thanks