(Contents)(Previous)(Next)

Special Editor Commands

The editor commands are entered in the command line (called by using the Command menu function or by pressing the key combination + ).

All keywords can be abbreviated to three characters. They can be written in uppercase or lowercase characters.

Some commands can also be executed using the menu bar or the corresponding function key.

The Spltjoin Function

The Spltjoin function splits and rejoins single lines of text.

A line is split or joined from cursor position. If the cursor is placed behind the end of a line, the text following the cursor will be appended to the current line.

The Reset Function

The Reset function clears the input area.

GET Command

The content of an external file is copied into the input area.

Call:

The target position is the line in the input area on which the cursor is placed, or the first line of the form if the cursor is not positioned within the input area.

The sequence numberof the first line to be copied (default: 1) and the number of the lines to be copied (default: as many as possible) can be specified as option. At most 12 K can be copied in both cases. If the specified file exceeds this value, the rest will be truncated and a message be output.

Examples:

get clist.qsc

get clist.frm 20

get clist 100 18

PUT Command

The content of the edit form is copied into a file.

Call:

The number of the first line to be copied (default 1) and the number of the lines to be copied (default: as many as possible) can be optionally specified.

Specifying APPEND ensures that text is added at the end of an already existing file rather than overwriting the file.

Examples:

put clist.qsc

put clist.frm 20 append

put clist 100 18 app

PRINT Command

This command sends the contents of the edit form to the print log.

Call:

PRINT writes the contents of the form into the currently opened print log.

CLOSE Command

This command closes the print log and sends its content to the printer.

Call:

CLOSE terminates the currently opened print log and outputs the log to the printer.

When the tool that called the editor is left, a print log not yet printed is automatically send to the printer.

If a PRINT command was issued by using the key, the print log is sent to the printer by immediately pressing the key a second time.

SEARCH Command

This command searches a specified character string.

Call:

Starting from the first displayed line, the first occurrence of the specified character string is searched. If it is detected, the corresponding line is highlighted on the screen and selected by the cursor.

REPLACE Command (CHANGE)

REPLACE or CHANGE replaces character strings in the edit form.

Call:

or

Default values for the area is n = 1, m = 1; i.e., starting from the first displayed line, each occurrence of <char_string_old> is replaced by <char_string_new>.

n indicates the number of lines in which replacements are to be performed.

m indicates the maximum number of replacements per line.

Specifying * * replaces any occurrence of <char_string_old> up to the end of the file.

Further Commands

RESET clears the input area.

= writes the last executed editor command to the command line.

== repeats the last executed editor command.

? starts the HELP function of the editor.


(Contents)(Previous)(Next)