in reply to Re: don't want to print certain linesin thread don't want to print certain lines
The problem is your first next in your if block, any thing in that block after that next will never be executed.