This Subprogram must be called before attempting to call any other UIPACK Subprograms.
Short Name Calling Sequence
STATUS = UIINIT([MODE,INLUN,OUTLUN,
& DEVICE,WRKSIZ,MAXNAM])
Long Name Calling Sequence
STATUS = UI_INITIALISE(...) STATUS = UI_INITIALIZE(...)
Input Arguments
MODE (Integer) Operation Mode (Opt.) INLUN (Integer) Input Logical Unit (Opt.) OUTLUN (Integer) Output Logical Unit (Opt.) DEVICE (Integer) Device Driver Code (Opt.) WRKSIZ (Integer) Work Area Size (Opt.) MAXNAM (Integer) Max. YBOS Bank Names(Opt.)
Output Arguments
None
Function Value
UI__SUCCESS ) Success UISUCC )
UI__ILLEGAL_DEVICE ) Illegal Device ID UIILDV )
UI__ILLEGAL_SIZE ) Illegal Work Area Size UIILSZ )
UI__ILLEGAL_MODE ) Illegal Operation Mode UIILMD ) Note:
UIPROMPTEDMODE Prompted Mode UIPRMD UISCROLLMODE Text Scroll Mode UISCMD UIVIEWTEXTMODE Viewport/Text Mode UIVTMD UIVIEWCURSORMODE Viewport/Cursor Mode UIVCMD UIGRAPHICSMODE Graphics Mode UIGRMDwhere these Parameters are defined in an Include file described in Appendix B.
Segments Invisible Not Detectable Not Highlighted
Thus the Application Programmer must explicitly set his own newly created segments to be visible before they will appear on the display surface.
INTEGER WRKSIZ
PARAMETER (WRKSIZ = n )
COMMON/MENUCO/MENUI4(WRKSIZ)
INTEGER MENUI4
where ``n" is set to the desired length of the work area. The default is 32768.