Flashing Background
Message
VERBatim - V41
Screen Grabber
Window or Not ?
Popups
Play it Again, Cam
QTIPS - Video.Rw
Window or Not?
Uncommon Knowledge - WC_Vprev%
Uncommon Knowledge - WC_VWindow%
QTIPS - Query Windows - Changing Colours
Video Control
Version 3 Technical Highlights - Input.Char
QTIPS - Border.Colour
QTIPS - Overriding Menu Colours
Utility Diskette # 3 - Part II
QTIPS - Query Windows - Changing Colours
Reader's Clinic - Screen Width
Screen Grabber
Reader's Clinic - Slow Multivalued Screen Display
Utility Diskette # 4
Utility Diskette # 4
Reader's Clinic - Different Id Same Record
Reader's Clinic - Scaled Masked Decimal Conversions
Base Conversions
User Defined Conversions
Reader's Forum - Numeric Precision in R/Basic - Hal Wyman
RTP Series - RTP42
RTP Series - RTP51
Reader's Clinic - AREV Runtime
@ATTACK - @PDisk.On
Advanced Revelation Initialisation Sequence (Overview) by Mike Pope
AREV Comes to Czechoslovakia Les Palenik, Cosmotron Systems
Flashing Background
Flashing Background
Background Processing
Creating Your Own Background Processes
Flashing Background
Play it Again, Cam
Reader's Clinic - Functions and Subroutines
Reader's Letters - Jim Owen
Playing with Scan Codes
Argument passing - Subroutines and Functions - Mike Pope
Redefining Keys
Background Processing
Reader's Clinic - Prompting for Passwords
Capture
Creating Your Own Background Processes
@ATTACK - @Edit.Keys
@ATTACK - @Index.Time
@ATTACK - @PlayBack
@ATTACK - @Priority.Int
How Indexes Are Updated
A RevTechie Replies - And Miscellaneous Jottings - Mike Pope - Revelation Technologies (UK) Ltd
QTIPS - Use of Mouse
QTIPS - Interrupt Proof Error Messages
Uncommon Knowledge - WC_Soft_Keys%
A RevTI Techie Replies - Mike Pope - Revelation Technologies (UK) Ltd
Version 3 Technical Highlights - Input.Char
Version 3 Technical Highlights - @Prog.Char
Version 3 Technical Highlights - Highlight
Reader's Clinic - Page Marks in Windows

RevMedia FKB

DocumentV1I10A7
TitleFlashing Background
KeywordsBACKGROUND
VIDEO.RW
ESC.TO.ATTR
ATTR.TO.ESC
BITOR
TextUsers of VIDEO RW will be aware that the colour attributes for each byte of
information on screen are stored in a single character yet generally colour
escape sequences are four characters long The conversion between these
formats is facilitated by the AREV functions ESC TO ATTR and ATTR TO ESC
Thus to get the screen attribute for Yellow on Blue (Esc C1N) one would
simply say ATTR = ESC TO ATTR(CHAR(27) : "C1N") Converting FROM attribute
to escape conversely uses the ATTR TO ESC

The highest bit of the colour attribute determines whether or not the colour
has a flashing background If the highest bit is set the background will
flash If not the background will remain normal To set the highest bit it
is necessary to BITOR the attribute WITH 128 Try running the following with
a (B option

DECLARE FUNCTION ATTR TO ESC ESC TO ATTR

X = ESC TO ATTR(@AW<4>)
X = BITOR(SEQ(X) 128)
X = ATTR TO ESC(CHAR(X))
PRINT @AW<4> : "Hello"
PRINT X : "Hello"
INPUT X 1


(Volume 1 Issue 10 Page 9)
[revmedia/copyrigh.htm]

Page last modified: 08/02/03