Function calls

Pelle Månsson pelle.mansson at gmail.com
Fri Jan 29 03:25:44 PST 2010


On 01/29/2010 05:48 AM, Michel Fortin wrote:
>
> No. Calling byLine doesn't change the stream. It returns a different
> view of stdin, which can be used to modify the stream, or not. I think
> it should be a property. If it was 'getNextLine' then it should be a
> function. As a proof, this doesn't have any effect:
>
> stdin.byLine;

It reads a line off stdin. Try it.



More information about the Digitalmars-d mailing list