Contents page

Rules for Tools/loadclip()


loadclip()
SYNOPSIS
     struct Clip *loadclip(long file)

ARGUMENTS
    `long file'
          File pointer.

DESCRIPTION
     `loadclip()' creates a Clip structure and reads into it a Clip from
     disk.  You must pass it a Bars&Pipes buffered file io pointer
     initialized with a call to `fastopen()' .

     Because `loadclip()' makes AmigaDos calls, you must call it from a
     Process, not a Task.  If you need to call it from a Task, nest the
     call to `loadclip()' within a `doscall()' command:
          clip = (*functions->doscall)(functions->loadclip,file)

SEE
     See saveclip().