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

ID 767251
Date 11/07/2023
Public

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

Document Table of Contents

CLEARSCREEN

Graphics Subroutine: Erases the target area and fills it with the current background color. This routine is only available for Windows.

Module

USE IFQWIN

CALL CLEARSCREEN (area)

area

(Input) INTEGER(4). Identifies the target area. Must be one of the following symbolic constants (defined in IFQWIN.F90):

  • $GCLEARSCREEN - Clears the entire screen.

  • $GVIEWPORT - Clears only the current viewport.

  • $GWINDOW - Clears only the current text window (set with SETTEXTWINDOW).

All pixels in the target area are set to the color specified with SETBKCOLORRGB. The default color is black.

Example


USE IFQWIN
CALL CLEARSCREEN($GCLEARSCREEN)