Skip to content · ⁨コンテンツへスキップ⁩

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