Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper Tools . Books 1-3 - <b>screenattr()</b> http://www.X-Hacker.org [<<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()

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