29) CLEAR SCREEN | LD/CD |
| |
Function: | The characters shown in the User Display Area are cleared. | ||
Format: | C S |
|
|
Explanation: | Characters on all of the lines are cleared. To clear only a | ||
| particular line, overwrite the line with spaces by means of the PR | ||
| command. |
|
|
Execution: | C S 3 P R <C/R> | R <C/R> | |
| HELLO ! <C/R> | R <C/R> |
*All the lines are cleared and a string of seven characters is written in Line 3.
4 P R <C/R> | R <C/R> |
|
SELECT A MENU ITEM <C/R> | R <C/R> |
* A string of 18 characters is written in Line 4.
3 P R <C/R> | R <C/R> |
|
string of seven spaces | <C/R> | R <C/R> |
*Spaces overwrite the seven character word in line 3, so it appears only line 3 is cleared.
CS<C/R> | R<C/R> |
* All lines are cleared. |
|