Previous Topic: Line Commands

Next Topic: Primary Commands


Line Command Examples

The following figures show some examples of commonly-used line commands.

 PROD------------------------ CAS : Notepad Editor -------------Line 1 to 1 of 1  Command ===>  Function=Update Scroll ===> PAGE  **** ****************************** TOP OF DATA *******************************  i501 To add lines, type ’i’ plus the number of lines to add in left column  **** ***************************** BOTTOM OF DATA *****************************   F1=Help  F2=Split  F3=File  F4=Save  F5=Find  F6=Change   F7=Backward  F8=Forward  F9=Swap  F10=Left  F11=Right  F12=Cancel

 PROD------------------------ CAS : Notepad Editor -------------Line 1 to 6 of 6  Command ===>  Function=Update Scroll ===> PAGE  **** ****************************** TOP OF DATA *******************************  0001 To add lines, type ’i’ plus the number of lines to add in left column  0002  0003 In this example ’i5’ was typed into the left column, adding 5 lines to  0004 the Notepad text entry area.  0005  0006  **** ***************************** BOTTOM OF DATA *****************************   F1=Help  F2=Split  F3=File  F4=Save  F5=Find  F6=Change   F7=Backward  F8=Forward  F9=Swap  F10=Left  F11=Right  F12=Cancel

 PROD------------------------ CAS : Notepad Editor -----------Line 1 to 14 of 14  Command ===>  Function=Update Scroll ===> PAGE  **** ****************************** TOP OF DATA *******************************  0001  d002 A letter ’d’ in the first column will delete that one line  0003  dd04 To delete a block of text type ’dd’ into the left column of the first line  0005 of the block to be deleted.....  dd06 .....then type ’dd’ in the last line of the block and press ENTER.  0007  c008 To copy one line of text type ’c’ into the left column.  0009  cc10 To copy a block of text type ’cc’ in the first line of the block...  cc11 .....then type cc in the last line of the block and press ENTER.  0012  a013 The letter ’a’ in the left column will insert copied text after ’this line’  0014  b015 The letter ’b’ will insert copied text before ’this line’  **** ***************************** BOTTOM OF DATA *****************************   F1=Help  F2=Split  F3=File  F4=Save  F5=Find  F6=Change   F7=Backward  F8=Forward  F9=Swap  F10=Left  F11=Right  F12=Cancel