next up previous contents
Next: Inquire Output Level Up: Inquiry Subprograms Previous: Inquire Menu Characteristics

Inquire Operation Mode

This Subprogram allows the current Operation Mode (Prompted, Scroll etc.) to be determined.

Short Name Calling Sequence

STATUS = UIIQOP(MODE)

Long Name Calling Sequence

STATUS = UI_INQUIRE_OPERATION(...)

Input Arguments

None

Output Arguments

MODE (Integer) Operation Mode (See Notes)

Function Value

UI__SUCCESS ) Success UISUCC )

UI__NOT_INITIALIZED ) Package not Initialized UININI )

Note:

  1. The MODE Argument may take on the following values:-

    UIPROMPTEDMODE ) Prompted Mode UIPRMD )

    UISCROLLMODE ) Text Scroll Mode UISCMD )

    UIVIEWTEXTMODE ) Viewport/Text Mode UIVTMD )

    UIVIEWCURSORMODE ) Viewport/Cursor Mode UIVCMD )

    UIGRAPHICSMODE ) Graphics Mode UIGRMD )

    Where these parameters are defined in the UIPACK Parameter Include files (see Appendix B).

  2. The Operation Mode Argument MODE will be set to UI_SCROLL_MODE if UIPACK has not been initialised.


Liz Buckle
Fri Jan 13 17:30:40 CST 1995