next up previous contents
Next: Specify Prefix for Up: Viewport Logging Subprograms Previous: Attach Viewport Logging

Enable Viewport Logging to a File

This Subprogram enables Viewport Logging for the specified Viewport, attaching it to the specified File.

Short Name Calling Sequence

STATUS = UIENVL(FILNAM,VPRTID)

Long Name Calling Sequence

STATUS = UI_ENABLE_VIEWPORT_LOG(...)

Input Arguments

FILNAM (Character) Log File Name VPRTID (Integer) Viewport ID

Output Arguments

None

Function Value

UI__SUCCESS ) Success UISUCC )

UI__NOT_INITIALIZED ) Package not Initialized UININI )

UI__ILLEGAL_VIEWPORT ) Illegal Viewport ID UIILVP )

Note:

  1. If Logging is already enabled for the specified Viewport, it will be redirected to the specified File.
  2. The VPRTID Argument is optional and, if omitted, defaults to the currently setup Viewport.


Liz Buckle
Fri Jan 13 17:49:20 CST 1995