CLS

 

Syntax:

Then: CLS
Then: CLS(s)
Then: CLS(s,n)

CLS               Clear entire screen.

CLS(s)          Clear screen from line "s".

CLS(s,n)       Clear screen from line "s" for "n" lines.

 

Without parameters, the command clears the entire 24-line Inquire, Update, Add screen, and lines 3-24 of the Request Output screen. The syntax is:

      Then: cls

 

To clear from a particular line to the bottom of the screen, use this syntax:

      Then: cls(s)

 

where "s" is an expression that designates the number of the line from which to start clearing. The value "s" is really an expression. In other words, the program can use the value of a literal (a real number from 1 to 24), a filePro field (real or dummy that contain a number from 1 to 24), or any expression that resolves to a number from 1 to 24 for a starting point. (Use quotation marks for Literals.)

To clear only particular lines, give the starting line and the number of lines to clear:

      Then: cls(s,n)

 

where "s" is the starting line and "n" is the number of lines to clear from the starting line. The "n" value is also an expression whose value should be limited by how many lines are available to clear from the line designated by the "s" value.

 

Version Ref:  3.x

Description:

CLS is used to clear the screen during Inquire, Update, Add and Request Output operations

 

Examples:

To clear lines 5 through 14:

      Then: cls("5","10")

Suppose field "aa" has a value of 5. You could clear the screen from line 5 to line 14 as follows:

      Then: cls(aa,"10")

NOTE: As with all filePro expressions, quotation marks are required for Literals. The parameters s and n are expressions. If you use literal values, they must have quotes (as always).