# __TextSave()

Redirect console output to printer or file and save old settings

Syntax

  __TextSave( <cFile> ) --> NIL

Arguments

  <cFile> is either "PRINTER" (note the uppercase) in which console output is SET to PRINTER, or a name of a text file with a default ".txt" extension, that is used to redirect console output.

Returns

  __TextSave() always return NIL.

Description

  __TextSave() is used in the preprocessing of the TEXT TO command to redirect the console output while saving old settings that can be restored later by __TextRestore().

Status

  Ready

Compliance

  __TextSave() is an Undocumented CA-Clipper function

Platforms

  ALL

Files

  Library is rtl

See Also

- SET()
- SET ALTERNATE
- SET PRINTER
- TEXT
- __TextRestore()