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

ID 767251
Date 3/22/2024
Public
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)