add command

The add command can be used 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 Must be a postive integer. The count parameter specifies the number of elements to be added.  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 will need to use the add command to insert lines at the top of the file since the insert and insertShow commands add lines after the current line.

Examples

add 100 
add before 
add show 


Editor commands and parameters


insert command
insertShow command
show parameter
text parameter
Default editor commands