in reply to Re: line number
in thread line number

While caller will give the linenumber, it's not seemingly the best for the OP's needs.

------
We are the carpenters and bricklayers of the Information Age.

Please remember that I'm crufty and crochety. All opinions are purely mine and all code is untested, unless otherwise specified.