next
|
previous
|
forward
|
backward
| up |
top
|
index
|
toc
|
home
scanLines -- apply a function to each line of a file
Synopsis
Usage:
scanLines(f,fn)
Inputs:
f
fn
, the name of a file
Outputs:
returns
null
unless the function uses
break x
with a non-null value for
x
, in which case scanning stops and
x
is returned immediately
Ways to use
scanLines
:
scanLines(Function,String)