Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I append to a text file without having to read every line of the file?

Append file line read text
0
Posted

How do I append to a text file without having to read every line of the file?

0

The special record number -4 can be used to output to the end of the file. For example, the statement Print #5,-4;”Append this text” would add the line “Append this text” to the end of the text file open on channel 5.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123