Programmer's WorkBench (pwb.hlp) (Table of Contents; Topic list)
Paste Function
                                             Up Contents Index Back
─────Programmer's WorkBench─────────────────────────────────────────────────
 
     Paste («paste»)
          Copies the contents of the clipboard to the file at the
          cursor. The text is always inserted independent of the
          insert/overtype mode.
 
          If the clipboard contents were copied to the clipboard as a
          linearg, PWB inserts the contents of the clipboard above the
          current line. Otherwise, the contents of the clipboard are
          inserted at the cursor.
 
     Arg <boxarg> │ <linearg> │ <streamarg> Paste
     («arg» <boxarg> │ <linearg> │ <streamarg> «paste»)
          Replaces the selected text with the contents of the
          clipboard.
 
     Arg Paste («arg» «paste»)
          Copies the text from the cursor to the end of the line. The
          text is copied to the clipboard and inserted at the cursor.
 
     Arg <textarg> Paste («arg» <textarg> «paste»)
          Copies the <textarg> to the clipboard and inserts it at the
          cursor.
 
     Arg Arg <textarg> Paste («arg» «arg» <textarg> «paste»)
          Copies the contents of the file specified by <textarg> to the
          current file above the current line.
          See also: File menu, Merge
 
     Arg Arg !<textarg> Paste («arg» «arg» !<textarg> «paste»)
          Runs <textarg> as an operating-system command, capturing the
          command's output to standard output. The output is copied to
          the clipboard and inserted above the current line.
 
          You must enter the exclamation mark as shown.
 
     Example
 
     The following command copies a sorted copy of the file SAMPLE.TXT
     to the current file:
 
          Arg Arg "!SORT <SAMPLE.TXT" Paste
          («arg» «arg» "!SORT <SAMPLE.TXT" «paste»)
 
     Returns
 
     True:  Paste always returns true except for the cases below.
     False: Tried Arg Arg <textarg> Paste and file did not exist, or
            the pasted text would make a line too long.
 
     See
 
     Edit menu, Paste
                                    -♦-