content Parameter

Changes the data content of a line.

Scope: Line

Syntax

query content 
set content [String] 

Option

String 
Any string to form the new content of the line. The default is null.

Description

The content parameter changes the content of the current line. The fonts parameter is reset to the default font for the current line repeated to the same length as the new content, and the position parameter in the line to set to one.

Examples

  1. To query the content of a character string, type:
    query content 
  2. To change the contents of the current line from This is a true statement to This is not a true statement, type:
    set content This is not a true statement 

    The current line is deleted and replaced with the specified text string.

API Return Codes

-8 
Insufficient memory.
-6 
Text limit exceeded, operation cancelled.
-5 
You cannot make changes to the file because the readonly parameter is set to on.
10 
The text length limit is exceeded in the line. The update to the line has been accepted as is.
11 
The text length limit is exceeded in the line. The content of the line has been truncated.

fonts Parameter
position Parameter