Copying and appending source code


Use the Copy and Append commands listed in the table below to move source code to the Clipboard. You can then paste this source code into an editor to create or modify a program.

If you select a Copy command, the code is copied to the Clipboard, replacing the code that was previously there. If you select an Append command, the code is copied to the Clipboard, adding to the code that was previously there.

View

Command

Functionality

Outline view

Copy or Append lines

Copies/appends an entity such as a division or section.

Select the entity name on the left side of the Outline view then select the appropriate command from the Edit menu or from the right-click menu.

Copy or Append procedure

Copies/appends a procedure.

Select the procedure name on the left side of the Outline view then select the appropriate command from the Edit menu or from the right-click menu.

Copy or Append line

Copies/appends an individual statement.

Select the statement on the right side of the Outline view then select the appropriate command from the Edit menu or from the right-click menu.

Hint: To select multiple lines, use the Shift key before right-clicking.

Metrics view

Copy or Append procedure

Copies/appends a procedure.

Select the procedure name then select the appropriate command from the Edit menu or from the right-click menu.

Structure Chart view

Copy or Append procedure

Copies/appends a procedure.

Select the procedure box then select the appropriate command from the Edit menu or from the right-click menu.

Copy or Append procedures

Copies/appends the selected procedures.

Use the Shift key to select the appropriate procedure boxes then from the Edit menu, select the appropriate command.

Hint: The commands are also available by right-clicking.

Control Flow view

Copy or Append statement

Copies/appends a code block.

Select the code block box then select the appropriate command from the Edit menu or from the right-click menu.

Copy or Append statements

Copies/appends the selected code blocks.

Use the Shift key to select the appropriate code block boxes then from the Edit menu, select the appropriate command.

Hint: The commands are also available by right-clicking.

Note

The Copy and Append commands do not attempt to create a compilable program. Use the Code Splitter to create compilable programs.


 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*