Intel® Fortran Compiler 18.0 Developer Guide and Reference

INQUIRE: IOFOCUS Specifier (W*S)

The IOFOCUS specifier asks if the indicated unit is the active window in a QuickWin application. It takes the following form:

IOFOCUS = iof

iof

Is a scalar default logical variable that is assigned one of the following values:

.TRUE.

If the specified unit is the active window in a QuickWin application

.FALSE.

If the specified unit is not the active window in a QuickWin application

If unit '*' is specified, the default is .FALSE.; otherwise, the default is .TRUE..

A value of .TRUE. causes a call to FOCUSQQ immediately before any READ, WRITE, or PRINT statement to that window.

If you use this specifier with a non-Windows application, an error occurs.