How can I read info from a file and end when the file contains no more info?
I am currently using a '!' (inside the file) on its own to signify the end of the file but this is causing later problems.
I have a vague idea I need to use 'EOF' but I have no idea how to check for this... any help would be great... thanks in advance