HELP
An object that loads a library of User
Functions, Compiled Function definitions, or
Remote Function definitions into a running HP
VEE model.

USE
Use Import Library to load a library of one
of the following kinds of functions into your
HP VEE model at run time:

* User Function - Import Library loads all of
the User Functions from a specified file.
(User Functions are created by selecting the
Make User Function selection on the object
menu of a UserObject.  You create a library
by creating several User Functions and saving
them to a file.)

* Compiled Function - Import Library attaches
an shared library to the HP VEE process, and
parses the Definition File declarations.
(Compiled Functions are programs written in a
programming language such as C, which are
dynamically linked to the HP VEE process.
Refer to Using HP VEE| for further
information.)

* Remote Function - Import Library starts an
HP VEE process on a remote host and loads the
Remote File into the HP VEE process.  (Remote
Functions are actually User Functions loaded
by the remote HP VEE process, but callable on
the local host.  Refer to Using HP VEE| for
further information.)

Once the library of User Functions,
Compiled Functions, or Remote Functions is
loaded, the functions are executed (called)
by name using the Call Function object.

LOCATION
Device ==> Function ==> Import Library

OPEN VIEW PARAMETERS

* Library Type - A dialog box allows you to
choose User Function, Compiled Function, or
Remote Function.

* Library Name - Enter the name of the
library that you want to import.

* File Name - (User Function or Compiled
Function only.)  Select the file that
contains the library to import.

* Definition File - (Compiled Function only.)
Select the definition file for the Compiled
Function.

* Host Name - (Remote Function only.)  Enter
the name of the remote host where the Remote
Function will operate.

* Remote File Name - (Remote Function only.)
Enter the file name (complete path) of the
library (e.g.
/users/MyUserName/MyDir/MyFile).

* Remote Timeout - (Remote Function only.)
Set the timeout in seconds for the Remote
Function.

OBJECT MENU

* Load Lib - Immediately loads the specified
library into HP VEE.  If a library with the
same name was previously loaded, that library
is deleted and overwritten with the new
library.

* Delete Lib - Immediately deletes the
specified library from HP VEE.  (This
provides the same functionality as the Delete
Library object.)

NOTES
The Import Library object is generally used
for advanced operations where you have
developed sets of User Functions, Compiled
Functions, or Remote Functions into
libraries.  Import Library allows you to load
such libraries dynamically at run time.  For
User Functions you can save considerable
space by creating a library and loading it
with Import Library -- you don't have to save
copies of the User Functions in each
individual model.  Also, when you develop a
library of standard User Functions, you can
keep the source code for those functions in a
single place.  Refer to Using HP VEE for a
detailed discussion of using User Functions,
Compiled Functions, and Remote Functions.

User Functions loaded at run time by
Import Library operate exactly like any
locally-created User Function within the
model.  You can execute any User Function
with the Call Function object.  However, only
locally created User Functions can be edited
within the model.  If you want to edit any of
the external User Functions, you must open
the library file that contains the User
Functions and use the Edit User Functions
selection on the Edit menu.  Once you have
edited the User Function, save the file back
to the disk.

SEE ALSO
Call Function, Delete Library, Edit
UserFunction, User Function, and UserObject.
