Getting errors working with String Arrays

When first starting the program, the text file is empty until the game has been played, from there on it contains a number unless deleted.

EDIT: Adding 0 to the empty text file lets the program run, thank you

2 Likes