12.07.2015 Views

Intel® Fortran Libraries Reference

Intel® Fortran Libraries Reference

Intel® Fortran Libraries Reference

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

2 Intel <strong>Fortran</strong> <strong>Libraries</strong> <strong>Reference</strong>FOCUSQQQuickWin Function: Sets focus to the window with the specified unit number. This function isonly available on Windows* systems.Module: USE IFQWINSyntaxresult = FOCUSQQ (iunit)iunit(Input) INTEGER(4). Unit number of the window to which the focus is set. Unit numbers 0, 5, and6 refer to the default startup window.Results:The result type is INTEGER(4). The result is zero if successful; otherwise, nonzero.Units 0, 5, and 6 refer to the default window only if the program does not specifically open them.If these units have been opened and connected to windows, they are automatically reconnected tothe console once they are closed.Unlike SETACTIVEQQ, FOCUSQQ brings the specified unit to the foreground. Note that thewindow with the focus is not necessarily the active window (the one that receives graphicaloutput). A window can be made active without getting the focus by calling SETACTIVEQQ.A window has focus when it is given the focus by FOCUSQQ, when it is selected by a mouseclick, or when an I/O operation other than a graphics operation is performed on it, unless thewindow was opened with IOFOCUS=.FALSE.. The IOFOCUS specifier determines whether awindow receives focus when on I/O statement is executed on that unit. For example:OPEN (UNIT = 10, FILE = 'USER', IOFOCUS = .TRUE.)By default IOFOCUS=.TRUE., except for child windows opened with as unit *. IfIOFOCUS=.TRUE., the child window receives focus prior to each READ, WRITE, PRINT, orOUTTEXT. Calls to graphics functions (such as OUTGTEXT and ARC) do not cause the focus toshift.CompatibilityQUICKWIN GRAPHICS LIBSee Also: “SETACTIVEQQ”, “INQFOCUSQQ”, "Using QuickWin" in your user’s guideFOR_DESCRIPTOR_ASSIGNRun-time Subroutine: Creates an array descriptor in memory. This subroutine is only availableon Windows* systems.Module: USE IFCORE2-82

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!