You have the line that prints the header in your inner while loop. Of course you get it with every sequence. Move that statement to before your loop, and you will see it only once.
In reply to Re: One header for multiple results
by GotToBTru
in thread One header for multiple results
by lairel
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |