Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference

ID 767251
Date 6/24/2024
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

INQUIRE: IOFOCUS Specifier

The IOFOCUS specifier asks if the indicated unit is the active window in a QuickWin application. This specifier is only available for Windows. 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.