h6. [[Programmer's Reference Manuals]] h6(. » [[*Commands]] h6((. » *SpoolOn h2. *SpoolOn h4. Use This *Command appends the VDU commands appearing on the screen to the specified file. h4. Syntax *SpoolOn [_filename_] h4. Parameters |<^{width:8em}. _filename_|<^. Valid pathname specifying a file| h4. Notes The spooling of data to a file is managed internally by [[OS_BPut]]. If OS_BPut generates an error, the spool file will be closed, and the error is then returned from [[OS_WriteC]]. If no filename is given, the current spool file is closed. The outputting of data continues until either a [[*Spool|*Spool]] or *SpoolOn command (with or without a filename) is issued. It is possible to temporarily disable the spool file without closing it by issuing [[OS_Byte 3]]. h4. See also * [[OS_Byte 3]] * [[OS_Byte 199]] * [[OS_BPut]] * [[OS_WriteC]] * [[*Spool|*Spool]]