Editors > Screen Editor Reference > Screen Editor Applications > Inserting Characters

Comment on this topic

Documentation Comments

Use this form to comment on this topic. You can also provide any general observations about the Online Documentation, or request that additional information be added in a future release.

RealityV15.1Online Documentation (MoTW) Revision 7

Inserting Characters (Screen Editor) (m618604+insert.htm)

To

Reality

Version

Topic

Submitted by

Company

Location

Email address

Comment

 

 

Inserting Characters

At the Beginning Of Lines

If you have used the Line Editor, you are no doubt familiar with using the R command to insert characters at the beginning of lines. For example:

R6//*/

inserts an asterisk at the beginning of 6 lines.

The C (Comment) command provides a similar function in the Screen Editor. The command is called "comment" because its normal use is to 'comment out' lines by adding a comment character. In DataBasic, an asterisk (*) provides a comment character while Proc uses the letter 'C' or an asterisk (*).

Besides a single comment character, the C command can be used to insert any string of characters.

At the Ends of Lines

In the Line Editor you can insert a string at the end of several lines with a command such as:

AP10/string

You can achieve the same result in the Screen Editor with the C (Comment) command.

The Comment command gives you the option of inserting the string at the beginning or at the end of each line.

RealityV15.1 (MoTW) Revision 7Comment on this topic