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