Check out the documentation on the $. variable.  It does what you want.

-----Original Message-----
From: Steve [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 26, 2002 6:18 AM
To: [EMAIL PROTECTED]
Subject: Getting a line number from a file.


Is there a way to, as a file is read to print the line number you are on?



-----

The three most dangerous things are a programmer with a soldering iron, a 
manager who codes, and a user who gets ideas.

----

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to