Program Real Line Counter. Anyone want to jump in?
#33
I think if you were to use my tokenize function then this should be pretty easy. You pass it a list of delimiters and then it splits a string based on those delimiters. You could give it the colon, carriage-return + line feed, and whatever else, and the resulting array count should be pretty accurate. Then you'd need to handle the line continuation stuff (underscore). If you don't want to count lines that start with a comma or a REM then you can simply omit those from the tokenized array.
Ask me about Windows API and maybe some Linux stuff
Reply


Messages In This Thread
RE: Program Real Line Counter. Anyone want to jump in? - by SpriggsySpriggs - 10-25-2022, 01:15 PM



Users browsing this thread: 17 Guest(s)