Sam Pauken wrote:I'm trying to figure out what's wrong with the code below.
Sam,
Please
DontWriteLongLines.
It makes your thread very hard to read, and it's actually bad coding practice.
I'd break yours up myself, but you have tons of them (and in more than one post), so perhaps you could do it?
Just use the 'Edit' button.
And for future reference, please remember:
80 characters max.
(the
SSCCE page actually recommends 62)
And that includes
string literals
AND comments
AND long method calls.
Thanks.
Winston