Contents page

Rules for Tools/clipboard()


clipboard()
SYNOPSIS
     long clipboard(long command, struct Clip *clip);

ARGUMENTS
    `long command'
          Requested Clipboard operation.

    `struct Clip *clip'
          Clip structure to send or receive.

DESCRIPTION
     The clipboard command communicates with the Clipboard window,
     providing a method for transferring Clips between the Clipboard
     and other program modules.

     To read a Clip from the Clipboard, set the command to `CLIP_GET'
     and provide an empty Clip.  Bars&Pipes will copy the contents of
     the currently selected Clip in the Clipboard into clip.

     To  copy clip into the Clipboard, set the command to `CLIP_PUT'.
     Bars&Pipes will make a copy of clip and insert the copy in the
     list of Clips in the Clipboard.

SEE
     See clearclip(), dupeclip(), cutclip(), copyclip(), pasteclip(),
     mixclip(),  loadclip(), saveclip().