previous  next
2.7.5. Commands and Functions for IO
The following are commands and functions for input/output:

  * Block -- group several commands into a single command
  * Close -- close a device
  * Format -- convert object to formatted string
  * Get -- read characters from a device
  * IO.SprintTrunc -- convert to a string and truncate
  * Latex -- LaTeX formatting
  * More -- print a string, N lines at a time
  * OpenIFile, OpenOFile -- open input or output file
  * OpenIString, OpenOString -- open input or output string
  * OpenLog, CloseLog -- open or close a log of a CoCoA session
  * Print On -- print to an output device
  * Print, PrintLn -- print the value of an expression
  * Source, << -- read commands from a file
  * Sprint -- convert to a string
  * Tag -- returns the tag string of an object
  * Tagged, Untagged, @ -- tag or untag an object for pretty printing

Details can be found by looking up each item by name.  Online, try
'?ItemName' or 'H.Syntax("ItemName")'.