Hi Allan_D,
I'll probably need more info, such as a copy of the entire script, but one discrepancy I noticed is the first
Send() in your post is showing
*vLines* variable and the one wrapped in the code tags indicates
*strLines(nIndex)*.
What is the corresponding code that puts info into
vLines/strLines and which should it be? And does it need an index? (Is the source an array?)
That's where I suggest you start as far as debugging the script code.