Skip to content · ⁨الانتقال إلى المحتوى⁩

Text files · ⁨ملفات النص⁩

Open, then read or write

  • AS topic 10.3 asks for pseudocode that handles a text file of one or more lines.
  • Open the file in one mode: READ, WRITE or APPEND.
  • WRITE starts a new file and loses what was there. APPEND adds after what is there.
  • CLOSEFILE when you have finished. A file is open in only one mode at a time.

Handout · ⁨ورقة عمل⁩

Log in or create account · ⁨تسجيل الدخول أو إنشاء حساب⁩

IGCSE, A-Level & AP