Working With Files
- Reading from files
- Read-line - reads in a whole line from the file. If you used write-line to create the file, they will match up nicely
- Read-char - reads a file character by character, returning the ASCII code - slower but more exacting
- To convert a string that looks like a list to a list, use the (read)
- Remember to close files when you are done with them
- Open files cannot be read by you or anyone else until they are closed
- Open files, if left to excess, can corrupt your hard drive
- Just like selection sets, you can only have so may files open at once