Line numbers in files...

Jochem44

New Member
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.
 
Line Number

There are preprocessors available in progress, this can help you find out at run time which line number you are currently in. try this.
 
What did you want me to try? I'll look for the prepocessors, I know there has to be one which the put statement uses to determine which line of the file it is on.
 
Back
Top