__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()

3 responses to “__TextSave()

  1. Pingback: Harbour Internal Functions | Viva Clipper !

  2. Pingback: Harbour Terminal Functions | Viva Clipper !

  3. Pingback: Harbour RG Summary | Viva Clipper !

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.