Locate the next token. Returns the token if found, null
otherwise. Null indicates an end of stream condition. To
sweep a conduit for lines using method next():
autolines = newLines!(char) (newFile("myfile"));
while (lines.next)
Cout (lines.get).newline;
Alternatively, we can extract one line from a conduit:
The difference between next() and foreach() is that the
latter processes all tokens in one go, whereas the former
processes in a piecemeal fashion. To wit:
Locate the next token. Returns the token if found, null otherwise. Null indicates an end of stream condition. To sweep a conduit for lines using method next():
Alternatively, we can extract one line from a conduit:
The difference between next() and foreach() is that the latter processes all tokens in one go, whereas the former processes in a piecemeal fashion. To wit: