Programmer's WorkBench (pwb.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Copy Function
                                             Up Contents Index Back
─────Programmer's WorkBench─────────────────────────────────────────────────
 
     Copy («copy»)
          Copies the current line to the clipboard.
 
     Arg Copy («arg» «copy»)
          Copies text from the cursor to the end of the line. The text
          is copied to the clipboard, but the line break is not
          included.
 
     Arg <boxarg> │ <linearg> │ <streamarg> Copy
     («arg» <boxarg> │ <linearg> │ <streamarg> «copy»)
          Copies the selected text to the clipboard.
 
     Arg <textarg> Copy («arg» <textarg> «copy»)
          Copies the specified <textarg> to the clipboard.
 
     Arg mark Copy («arg» mark «copy»)
          Copies the text from the cursor to the mark. The text is
          copied to the clipboard. The <mark> argument can be either
          a line number or a previously defined mark.
          See: Mark, Search menu, Define Mark
 
          The text is copied as a boxarg or linearg depending on the
          relative positions of the cursor and the mark. If the cursor
          and the mark are in the same column, the text is copied as a
          linearg. If the cursor and the mark are in different columns,
          the text is copied as a boxarg.
 
     Arg number Copy («arg» number «copy»)
          Copies the specified number of lines to the clipboard,
          starting with the current line.
 
          For example, Arg "5" Copy copies five lines to the clipboard.
 
     Returns
 
     Copy always returns true.
 
     See
 
     Delete, Ldelete, Sdelete, Paste
     Edit menu, Cut
     Edit menu, Copy
     Edit menu, Paste
     Edit menu, Delete
                                    -♦-