next | previous | forward | backward | up | top | index | toc | Macaulay2 website
Macaulay2Doc :: scanLines

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.