Hi everyone. I was wondering what is the best way to check if a text file is empty?
When I read from a text file:
And then try to access it:
I get an error..
I have tried if 'file.end' but file.end returns true every time so I think I got the wrong method...