F Invalid file name

Sinclair ZX Spectrum

Severity: Minor

What it means

Report F comes from SAVE.
Sinclair's manual gives the cause as a name that is empty or longer than 10 characters.

Affected Models

  • Sinclair ZX Spectrum 16K and 48K
  • ZX Spectrum+
  • Spectrum 128, +2 and +3 in 48 BASIC

How to Fix It

  1. Save with a name of 1 to 10 characters in quotes, for example SAVE "dice".

  2. If the name comes from a string variable, PRINT LEN of it to check its length.