Range violation error when reading from a file

Samir samir at aol.com
Sun Jun 16 23:41:42 UTC 2019


On Sunday, 16 June 2019 at 23:03:04 UTC, aliak wrote:
> stripping the last line could result in an empty line if it 
> just has strippable characters?

The last line is just the text of the last line.  There is no 
newline character at the end.  I also get the same error if I 
remove the strip function from the readln line.


More information about the Digitalmars-d-learn mailing list