|
-
Dec 20th, 2005, 04:45 AM
#7
Re: How to get the no. of lines on a file?
 Originally Posted by Joacim Andersson
LOL, pena that will give you a negative line count. Congrats to the light green gem 
Nope, I think that would work fine..
if buffer(i) = DELIMITER:
lineCount - (buffer(i) = DELIMITER) =
lineCount - (True) =
lineCount - (-1) = lineCount +1
if buffer(i) <> DELIMITER:
lineCount - (False) =
lineCount - 0 = lineCount
Adding lines when find delimiter
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|