Skip to content

Text files

A file keeps data after the program stops

  • The 2026–2028 syllabus (section 8.3) stores data in a text file.
  • You open the file, read or write one item, then close it.
  • This course keeps the file in memory for the one run, so you can see the result.

Handout

Log in or create account

IGCSE, A-Level & AP