CLEAR SCREEN

CLEAR SCREEN

Clear the screen and return the cursor home

Syntax

      CLEAR [SCREEN] | CLS

Arguments

SCREEN suppresses the automatic releasing of Get objects from the current and visible GetList array when the screen is CLEARed.

Description

CLEAR is a full-screen command that erases the screen, releases pending GETs, and positions the cursor at row and column zero. If the SCREEN clause is specified, Get objects are not released.

CLS is a synonym for CLEAR SCREEN.

Notes

. SET KEY and VALID: If you are editing GETs, executing a CLEAR within a SET KEY procedure or within a VALID user-defined function will abort the active READ when control returns. To clear the screen without CLEARing GETs, use either the CLEAR SCREEN or CLS commands.

Seealso

@…CLEAR, CLEAR GETS, SCROLL()

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s