obscurant1st Posted April 25, 2009 Share Posted April 25, 2009 i just want to know is there any way to count the total number of lines in a text file.. in my case it will contain more than 100 lines so i dont know whther working with the array UDF ll help,, pls help me.. [u]We don't need people who can spit back facts. We've got Google."[/u] WebguruBB - Free Hosting, Domains, and SEO articles.Awesome Techs - Tips, Tricks and Some Technology NewsCool Facts - Cool Facts, Fun Facts, Weird Facts etc. Link to comment Share on other sites More sharing options...
Developers Jos Posted April 25, 2009 Developers Share Posted April 25, 2009 _FileCountLines() ? SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Marlo Posted April 25, 2009 Share Posted April 25, 2009 #include <File.au3> $iLines = _FileCountLines("file.txt") like that Click here for the best AutoIt help possible.Currently Working on: Autoit RAT Link to comment Share on other sites More sharing options...
obscurant1st Posted April 25, 2009 Author Share Posted April 25, 2009 oh..this explains hw dump i can be some times... sorry m8s.. i dint see it in the help file...some how i missed it. anyway thank you.. [u]We don't need people who can spit back facts. We've got Google."[/u] WebguruBB - Free Hosting, Domains, and SEO articles.Awesome Techs - Tips, Tricks and Some Technology NewsCool Facts - Cool Facts, Fun Facts, Weird Facts etc. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now