HELP
A user-defined function created from a
UserObject.

USE
You can create a User Function by creating a
UserObject and then executing Make
UserFunction (refer to UserObject for
details).  You can use Edit User Function to
edit the User Function once it has been
created.  User Functions exist in the
"background" and can be called with Call
Function or from certain expressions.

An advantage of making a User Function out
of a UserObject is that the same User
Function can be called multiple times within
the model, but it exists as source code only
in one place.

The following choices are also available
when editing a User Function:

* Make UserObject - The opposite operation
from Make UserFunction.  Turns the User
Function back into a UserObject

* Delete - Deletes the User Function from the
HP VEE model.

NOTES
You can create a library of User Functions by
creating several UserObjects, turning them
into User Functions, and then saving them all
to a file.  This library then can be imported
into a model using Import Library, and
deleted with Delete Library.

Not only can you call a User Function with
Call Function, but you can call it from any
expression whose evaluation is delayed until
run time.  These include expressions in
Formula, If/Then/Else, Get Values, Get Field,
Set Field, or From DataSet devices, or
expressions in Sequencer or I/O transactions.
However, the syntax of function calls in an
expression allows only a single return value.
Thus, a call to a User Function from such an
expression will return only the value on the
first output.  If there are additional
outputs (excluding the sequence output) their
values will be dropped.  If there are no
outputs, the returned value will be
undefined.

SEE ALSO
Call Function, Delete Library, Edit
UserFunction, Formula, If/Then/Else, Import
Library, Sequencer, and UserObject.
