I'm programming an application that will display information on a file and will spread out into several pages. I'm writing to the file using put statements, is there a way I could see which line of the file I'm currentlly on?
Ex:
put "Kitty" at format 'x(5)' at 12.
put "Doggy" at format 'x(5)' at 12.
put "Snake" at format 'x(5)' at 12.
/* Here I should as for what line in the file I'm on and it should be 4 */
Is there anything that I can do to see which line I'm in, instead of using a counter every time I have a put statement.
Ex:
put "Kitty" at format 'x(5)' at 12.
put "Doggy" at format 'x(5)' at 12.
put "Snake" at format 'x(5)' at 12.
/* Here I should as for what line in the file I'm on and it should be 4 */
Is there anything that I can do to see which line I'm in, instead of using a counter every time I have a put statement.