next up previous contents
Next: Loop Servicing Processes Up: Process Server Subprograms Previous: Process Server Subprograms

Initialise Process Server

This Subprogram initialises a Standard Process Server. This initialisation creates a Menu containing some standard Commands, and allows the Application program builder to tailor this for their own requirements.

Short Name Calling Sequence

STATUS = UIISPC(FILNAM)

Long Name Calling Sequence

STATUS = UI_INIT_SERVICE_PROCESSES(...)

Input Arguments

FILNAM (Character) User Definition File

Output Arguments

None

Function Value

UI__SUCCESS ) Success UISUCC )

UI__NOT_INITIALIZED ) Package not Initialized UININI )

Note:

  1. The FILNAM Argument must always be present. If it is null (only ASCII spaces) it is ignored. Otherwise it is taken to be the name of a UIPACK Definition File. This File may be used to create some processes or Viewports etc.
  2. This Subprogram must be called before a call to UI_LOOP_SERVICE_PROCESSES.
  3. A minimal Process Server need only call UI_INIT_SERVICE_PROCESSES with an appropriate Definition File to create some Clients, followed by UI_LOOP_SERVICE_PROCESSES. The standard UIPACK Initialisation and Termination Subprograms must also be called of course.


Liz Buckle
Fri Jan 13 17:46:53 CST 1995