On Wednesday, 26 February 2014 at 23:59:09 UTC, bearophile wrote:
H. S. Teoh:

I'm writing a CLI program that uses File.ByLine to read input commands,

Isn't using readln() better for that? File.byLine is to read lines of files on disk.

Bye,
bearophile

Says who? The type system and documentation only assert that it works on files, with no reservations about what kind of file. The standard input file is as fine a file as any.

Reply via email to