Intel® Fortran Compiler 18.0 Developer Guide and Reference

CLEARSCREEN (W*S)

Graphics Subroutine: Erases the target area and fills it with the current background color.

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)

See Also