Idea: writeln and file functions that return the data passed to them

ixid nuaccount at gmail.com
Tue Jun 12 05:12:19 PDT 2012


Perhaps there is already a way to do this. With the UFCS one 
tends to make elegant chains of statements, it would be useful to 
have writeln and file functions that can easily be dropped in the 
middle of such chains without having to alter the lay out of 
one's program. Rather than returning void it would be nice to 
have a version of these that will pass along the data that was 
passed to them.


More information about the Digitalmars-d-learn mailing list