How to write into a text file in free pascal
There are many ways to write and read into and from text files in object pascal language. The most simple ways is the old structured method: You can use also an object of TStringList class : Or using object oriented TFileStream class: