Sign in to follow this  
Followers 0
bills

How do i count lines in a file?

7 posts in this topic

I need a simple way to count the lines in a textfile and return the number of lines to a variable.

Can anyone help?

//Bill

Share this post


Link to post
Share on other sites



PERFECT!

Thank you!

Share this post


Link to post
Share on other sites

(wow...my first actually useful post...yay!)

You welcome.


I can do signature me.

Share this post


Link to post
Share on other sites

Does anyone read the help file any more?

Share this post


Link to post
Share on other sites

#6 ·  Posted (edited)

weapon, STOP PADDING YOUR POST COUNTER (even I do it whole year :rolleyes:) AND POST POSTS WHICH HAVE SENSE AND MAKE THEY ARE NOT USELESS!

Edited by i542

I can do signature me.

Share this post


Link to post
Share on other sites

Actually my post was quite relevant considering the topic starter could not have even glanced at the help file.

_FileCountLines

Returns the number of lines in the specified file.

I mean, I love to help but the forum gets saturated with these questions. This is the easiest scripting language in the world people.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0