add command

Use the add command to insert blank elements into a document.

 

Syntax

add [before] [show] [count] 

 

Parameters

before Use the optional parameter before to indicate that the new lines should be added before the current element.
show Use the optional parameter show to indicate that the new elements should be show elements.  Show elements are not saved with the document.
count The count parameter specifies the number of elements to be added.  count must be a positive integer.  If you do not specify count, 1 is assumed.

 

Status

The status parameter is not affected by this command.

 

Description

The add command can be used to insert one or more new elements into a document.  It is similar to the insert and insertShow commands except that you cannot specify the element's text with the same command.  You must use the add command to insert lines at the top of the document since the insert and insertShow commands add lines after the current line.

 

Examples

add 100
add before
add show 

Related concepts
Editor commands, actions, and parameters

Related reference
insert command
insertShow command
show parameter
text parameter
Default editor commands