I am going to be doing some simple text processing with Free Pascal. I will have to read in a text file, chop the text up a bit, and then write to a new file. I looked for a sample program online and it talked about a dat file. I don't remember how this relates to a txt file. My input file is a txt file.
Years ago I was working in a unix environment, and I vaguely remember doing things with < or > to tell the operating system what input file to use and what output file to use. How do you tell Free Pascal what your input and output files are?