in reply to Re: Escape special characters for a LaTeX file
in thread Escape special characters for a LaTeX file

And BTW, the
else{next;}
statement is pretty much useless in this context, since the program would go to the next DATA record anyway.