Hello Small Basic Programmer, Welcome.
This is how you can count how many lines are there in a file:
Filepath = ""
i = 0
While x <> ""
i = i + 1
x = File.readline(filepath,i)
y[i]=x
endwhile
If i = 0 then
thelinenumber = 0
else
thelinenumber = i - 1
endif
This is how you can count how many lines are there in a file:
Filepath = ""
i = 0
While x <> ""
i = i + 1
x = File.readline(filepath,i)
y[i]=x
endwhile
If i = 0 then
thelinenumber = 0
else
thelinenumber = i - 1
endif
Tidak ada komentar:
Posting Komentar