Configuration screen

Blitz3D Forums/Blitz3D Beginners Area/Configuration screen

Readline() reads text, including the terminator for the line. The docs for Readline$() say:

Characters are read from the input file until an "end-of-line" mark is found. An "end-of-line" can be a single carriage return (0Dh) or a single linefeed (0Ah) or carriage return followed by a linefeed (0Dh, 0Ah). Reading beyond the end of file does not result in an error, but each value read will be a zero length string.
ReadLine$ returns all chars except chr$(13)/chr$(10).

When reading from a file, you need to use the command that corresponds with the one that you used to write to that file. This you did not do when you used WriteInt for the write operation, but then used Readline (not ReadInt) for the read operation. Pair 'em up! Use Writeline/Readline, or use WriteInt/ReadInt, but don't mix and match the commands.