Alert
Col
DevOutPict
HB_ColorIndex
HB_EOL
MaxCol
MaxRow
OutErr
OutStd
Tag Archives: __TextRestore()
__TextSave()
Template
Procedure
Name
__TextSave()
Category
API
Subcategory
Internal
Oneliner
Redirect console output to printer or file and save old settings
Syntax
__TextSave( <cFile> )
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.
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().
Compliance
C52U
Platforms
All
Files
Library is core
Seealso
Set(), SET ALTERNATE, SET PRINTER, TEXT, __TextRestore()