My program normally Resets a file in order to read it, and process the lines. However I occasionally need to edit the file, and I successfully open it using RunCommand statements and Notepad. However I found of course that I needed to close the read operation before I could successfully save anything. When I use the statement Close(TextFile), the compiler tells me I have used the wrong number of parameters for the Close operation. TextFile is type text and I have moved it around to make it more global, but it was already in Form1.
What am I doing wrong?