| Introduction | MTB Statements | File System | Compiler | Applications | Reference Guide | Index |
| Language Structure | Data Division | I/O Format Division | Procedure Division | Mnemonics |
Mnemonic:
| (SF) |
| Hex equivalent: | "@0A@" |
| Discussion: |
Start foreground display.
The (SF) control code sets foreground display mode and causes subsequent characters to be displayed as foreground characters. Note: The default display mode is foreground. Characteristics of foreground mode:
|
| Example: |
100 FORMAT (SB);"ENTER CODE NUMBER:";(TM);(SF);" ";(TM);@(0,0)
.
PRINT (0,100)
INPUT (0) CODE$
This example shows how to use the start foreground control code
in the middle of a FORMAT statement. This FORMAT starts out by
entering background mode and displaying a program prompt. Next,
the program places a transmit mark, switches to foreground,
displays 5 blanks, places another transmit mark, and returns the
cursor to "home" position (column 0, row 0).
|