I indeed tried both of those, solutions - actually, putting the array into the open statement had been the original way the code was written, but it did thre the same error. So I changed it to the * (and tried \*) - again, no dice, same problem.
Hrm.