Please enable JavaScript to view this site.

ESL Documentation

You can remove one or more lines, a text segment, or a text block from a textual region with the remove action statement.

 

When text is removed, any text following the removed text is moved up and to the left, filling the gap created by the removed text. These statements do not move the text cursor.

 

You can specify the beginning and ending line, or, as described in Defining Text Segments and Text Blocks, the beginning and ending of a block or segment in any order. For example, the following are all valid statements:

 

remove line 1 from Writer

 

remove line 1 thru line 10 from Writer

 

remove line 10 thru line 1 from Writer

 

remove segment column 1 line 1 thru column 10 line 1 

from Writer

 

remove segment column 10 line 1 thru column 1 line 1 

           from Writer

 

remove block column 3 line 1 thru column 8 line 3 

           from Writer

 

remove block column 8 line 3 thru column 3 line 1 

from Writer

 

remove block column 8 line 1 thru column 3 line 3 from A

 

remove block column 3 line 3 thru column 8 line 1 from A

 

remove block 3 1 thru 8 3 from Writer