I'm making a program that reads and writes files for a specific purpose, and I need to be able to basically do this:
to set theString to whatever text is on line 2 of theFile. Any suggestions?
Code:
theString = theFile.line(2)