Malkalypse
05-16-2009, 08:33 PM
I'm still pretty new to working with filestreams, so I'm still figuring some of the basics out. What is the best way to go about checking for the number of lines in a text file? I want to loop through each of the lines in a given file, i.e.
for i = 1 to numberOfLines do ()
but I can't figure out how to define that "numberOfLines" variable. I wasn't able to find anything in the MaxScript help for this, but maybe I'm missing something.
for i = 1 to numberOfLines do ()
but I can't figure out how to define that "numberOfLines" variable. I wasn't able to find anything in the MaxScript help for this, but maybe I'm missing something.
