Macaulay2 » Documentation
Packages » Macaulay2Doc » The Macaulay2 language » system facilities » using sockets » closeIn
next | previous | forward | backward | up | index | toc

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.

Ways to use closeIn:

  • Manipulator Database -- see Manipulator -- the class of all file manipulators
  • Manipulator File -- see Manipulator -- the class of all file manipulators
  • Manipulator Nothing -- see Manipulator -- the class of all file manipulators
  • new Manipulator from Function -- see Manipulator -- the class of all file manipulators
  • methods(Manipulator) -- see methods -- list methods
  • Manipulator NetFile -- see NetFile -- the class of all net files
  • NetFile << Manipulator -- see NetFile -- the class of all net files
  • File << Manipulator -- see printing to a file -- print to a file
  • Nothing << Manipulator -- see printing to a file -- print to a file

For the programmer

The object closeIn is a manipulator.


The source of this document is in Macaulay2Doc/ov_system.m2:1516:0.