| Introduction | MTB Statements | File System | Compiler | Applications | Reference Guide | Index |
| Language Structure | Data Division | I/O Format Division | Procedure Division | Mnemonics |
Mnemonic:
| (CF) |
| Hex equivalent: | "@06@" |
| Discussion: |
Clear foreground.
The (CF) control code clears all foreground screen positions to foreground blanks and positions the cursor at the first foreground position on the screen (the upper left corner). This control does not affect background or invisible (suppressed background) screen positions. This control code is typically used to clear input data from a formatted screen after it is entered in order to prepare for the next set of input data. |
| Example: |
a. 100 FORMAT (CF) . PRINT (0,100) b. PRINT (0) (CF)This example shows how to clear all foreground screen positions. |