Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 
Table of contents Previous: TERM Next: TFIND

TFILE

Sends text output to a disk file.


Format

TFILE mode frame "file


Parameters

mode

OPEN

opens the file for saving text

 

CLOSE

closes the file (default)

 

DUMP

dumps the contents of the text frame to the file

 

DO

dumps the contents of the text frame and then opens the file

frame

text frame number; the range is 0 to 9 (default=current)

"file

file name to write into; the double quote is mandatory


Remarks

The specified file name cannot be in use by another task, such as a text editor. It may be fully qualified up to 40 characters.

When you activate a text frame for text capture, the text frame number appears in the TFILE field on the right end of the status bar.


Examples

TFILE

This entry closes the file that is capturing all text output written to the current text frame.

TFILE OPEN X "SURFACE.OBS

This entry opens the file SURFACE.OBS and places any further output directed to the current text frame into that file.


Table of contents Previous: TERM Next: TFIND
 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Office of Programs University Corporation for Atmospheric Research (UCAR)   Unidata is a member of the UCAR Office of Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690