Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Clipper Tools One Guide - <b>screenattr()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
SCREENATTR()

Syntax:     SCREENATTR([<expN1>][,<expN2>])

Arguments:  <expN1> is the line from which to extract the attribute
            (default: cursor line).
            <expN2> is the column from which to extract the attribute
            (default: cursor column).

Returns:    A numeric value.
            The value corresponds to the attribute at the position
            indicated.

Usage:      SCREENATTR() supplies the actual screen attribute from line
            <expN1> and column <expN2>.  It is then possible to
            determine targeted attributes and store them for subsequent
            use.

Notes:      The current cursor position is used if the line and/or the
            column is not supplied.

Library:    CT1.LIB


--------------------------------- Example ------------------------------

Examples:   * The attribute of the current cursor position.

            var = SCREENATTR()

            * The attribute on the actual column position
            * in line 23.

            var = SCREENATTR(23)

            * The attribute on the position column 70,
            * line 23.

            var = SCREENATTR(23,70)



See Also: INVERTATTR()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson