A - Append text after line.

Syntax:

A
A.line

Examples:

a
a Hello there!
3a

Description:

The A command puts FRED into text input mode. Any input that you type in after this is stored in the current buffer. If you specify an address (as in 3A), FRED stores the input after that line; if you do not specify an address, FRED stores the input after the current line ".".

There are two ways to begin your input text:

Usually you must indicate the end of your input text by entering a \F character. However, if the O-I\F option is in effect and the input text immediately follows the A, you do not need \F. For example, you might say

o-i\f
a Input text here.

In this case, FRED assumes that the new-line at the end of the input line is the last character to be appended; in other words, a \F is assumed to follow the end of the line.

The A. command appends a single line of text. For example,

a.Hello there!

appends Hello there! after the current line. No \F is needed.

If the O+I. option is in effect, you can end input with a line consisting only of a dot followed by carriage return. For example,

a
This adds one line.
.

adds the given line. Thus with O+I. you can end your input with either \F or with the dot.

When you end your input, FRED sets the current line pointer "." to the line you just typed (the last line of input). If you didn't input any text, "." is set to the line addressed in the A command (if it was different from the current line).

Copyright © 1998, Thinkage Ltd.