Question: How to write text and data in a file on the hard disk

Hello! I need to write some text (a string) and some data in a file on the hard drive. Something like

"Hello, it is me"

3.1415

These two things written in two different consecutives lines in a file called /home/PNL/test_file.txt

I have tried WriteString, WriteFile but I failed miserably. Thank you very much!

Please Wait...