53
<EF>
Enable Flashing
Attributes
Description
Flash text and graphics written with the Flashing <FL> attribute set
Parameters
None
Initial Value
Inhibited (No Flashing)
Modes
All Modes
Notes
The <EF> is a global command that affects the whole screen
The opposite of this command is the <IF> Inhibit Flash command
Uses
The <EF> command allows:
•
Flashing text generally attracts attention.
•
Sending the <EF> command after the text is written ensures that all the text (written
with the flashing attribute set) starts flashing at the same time.
Example
<SD>
Set a known state for the display
<CM1,0>
Move the cursor to the first line down from the top of the screen
<CA>
All text is aligned centrally
<WTThis text is>
Write out the text
<BM2>
Set the flash background to the inverse of the foreground image
<F2>
Font size 2, 16 x 10 pixels
<CM4,0>
Move the cursor to the fourth line down from the top of the screen
<FL>
Set the Flashing attribute, so any text written will flash if flashing is
enabled
<WTFLASHING>
Write out the text
<CM6,0>
Move the cursor to the sixth line down from the top of the screen
<WM3>
Write the foreground text as inverse (white on black background)
<WTFLASHING>
Write out some text
<EF>
Enable the flashing for the whole screen
Alternating each second with
Gotchas!
Attributes are not saved and restored when screens are moved to and from memory with the <SFnm>
and <RFm> commands
See Also
BM
Background Mode
FL
Flashing
IF
Inhibit Flashing
ST
STeady