in reply to CHECKING IF HEADER DEFINED

You can't know what headers have been printed.

You need to keep track of all headers yourself.

Also, there is no need to yell.

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.