next | previous | forward | backward | up | top | index | toc | home

closeIn -- close an input file

Description

f << closeIn -- closes the input file f.
closeIn f -- closes the input file f.

If the file was open only for input, then close is easier to use and has the same effect.

If the file was open for both input and output, it remains open for output.

For the programmer

The object closeIn is a manipulator.