>I see one thing in your code that will trigger an error but "End of File encountered" is the error I get.
Could be a version difference, maybe? I think I've seen this before (the difference in error message, I mean) - as they are fairly similar-behavior errors, usually.
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.