Macaulay2 » Documentation
Packages » Macaulay2Doc :: scanLines
next | previous | forward | backward | up | index | toc

scanLines -- apply a function to each line of a file



The file is read and processed one block at a time, making this procedure potentially much better at conserving memory than scan(lines get fn,f) when the file is very large.

Ways to use scanLines :

For the programmer

The object scanLines is a method function.