SCREEN PUT_BIG_CHARS

SCREEN PUT_BIG_CHARS writes double-height, double-width characters to a window.  The corresponding drawing board line cannot contain a mixture of single-height/width and double-height/width characters.  If the line contains single-height/width characters, the entire line is rewritten in double height and width.  If the character string does not span the line, it is padded with blanks.  The cursor is positioned following the last written character.

SYNTAX

SCREEN PUT_BIG_CHARS /USING/ window_id string start_row start_column rendition

window_id

is an integer system field, Global Storage (GS) field, or user-defined field that contains the window ID assigned to the window.

string

is a string expression that specifies the character string to be written.

start_row

is an integer expression that specifies the line at which output begins.  If zero, output begins on the current line.

start_column

is an integer value that specifies the column at which output begins.  If zero, output begins on the current column.

rendition

specifies the video attributes of the written characters.  More than one attribute may be defined by separating the attributes with plus signs.

    

The valid video attributes are:

  • NORMAL specifies normal video attribute.  [default setting]
  • BLINK specifies blinking video attribute.
  • BOLD specifies bold face video attribute.
  • REVERSE specifies reverse video attribute.
  • UNDERLINE specifies underlining video attribute.

EXAMPLE

SCREEN PUT_BIG_CHARS USING MAIN_ID 'SALES REPORT' &
     2 40 NORMAL

This example puts SALES REPORT at row 2 and columns 40-65 of the window.  The size of each character is double high and double wide.

NOTES:  Each double wide/double high character occupies 2 normal character positions.  In addition, a normal character space is automatically placed at the beginning of the string that is specified.  Therefore, to determine the ending position of a string, count the number of characters in the string, multiply by two, and add one.

Note that each double wide/double high takes two lines of vertical space on the screen.

Back to Statements and Commands    Next page SCREEN PUT_CHARS