[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 SCREENATTR()
 Determines the attribute at a particular position
------------------------------------------------------------------------------
 Syntax

     SCREENATTR([<nRow>], [<nColumn>]) --> nAttr

 Arguments

     <nRow>  Designates the line from which to determine the attribute.
     The default is the cursor line.

     <nColumn>  Designates the column from which to determine the
     attribute.  The default is the cursor column.

 Returns

     SCREENATTR() returns the attribute at the designated position.

 Description

     SCREENATTR() returns the current screen attribute at <nRow> and
     <nColumn>.  You can query targeted attributes this way and save them to
     use later, or process them later with INVERTATTR().

 Note

     .  If no parameters are passed, the current cursor position is
        queried.

 Examples

     .  The attribute for the current cursor position:

        nVar:= SCREENATTR()

     .  The attribute at the current column position in line 23:

        nVar:= SCREENATTR(23)

     .  The attribute at column 70, line 23:

        nVar:= SCREENATTR(23, 70)


See Also: INVERTATTR()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson