HP 3000 Manuals

Structure of the Attribute Byte [ Micro Focus COBOL System Reference, Volume 2 ] MPE/iX 5.0 Documentation


Micro Focus COBOL System Reference, Volume 2

Structure of the Attribute Byte 

The following shows the structure of the screen and user attribute byte:

Bit          Attribute 

-------------------------------------------------

4 - 7        Must be set to 0

3            Blink

2            Reverse video

1            Underline

0            Highlight

Each bit indicates one type of attribute.  You can set these bits by
using the library call-by-number routine x"A7".  See the chapter Library 
Routines (Call-by-Number) for information on this routine.  You can set
more than one bit of the attribute byte, giving a combination of
attributes, for example, underlined and blinking.  The attributes
available to you, and how they can be combined, is dependent on the type
of terminal you are using.



MPE/iX 5.0 Documentation