TEXT Command

TEXT — Process text documents.

Synopsis

TEXT APPEND text_document_name VALUE data_ref [data_ref...] [NEWLINE()]

TEXT LOAD text_document_name FROM { FILE ext_file_name | XML xml_document_name }

TEXT READ text_document_name LINENO line_no RETURNING dest_ref

TEXT SAVE text_document_name TO FILE ext_file_name [ MODE OVERWRITE ]

Introduction

The TEXT command processes text documents. Status of the executed command can be retrieved using built-in function TEXTSTATUS().

Arguments

text_document_name

Name of the text memory buffer to write to.

data_ref

Any data reference as well as hard coded string or numeric value. The built-in function NEWLINE() can be used as data_ref to split up lines.

dest_ref

Any data reference which can hold text data.

ext_file_name

Path and name of an external file.

line_no

line number in the text buffer.

Example

. . .
. . .
TEXT APPEND t1 "This is a line to append" NEWLINE()
. . .
. . .

Related Commands

CLEAR