Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FUNCky - <b>name:</b> <b>getattr() - get attribute from specified screen location</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  Name:     getattr() - get attribute from specified screen location
  Usage:    <integer> = getattr(<row>,<col>)
  Params:   integer <row> - the row to read from
            integer <col> - the column to read from
  Returns:  an integer equal to the attribute found at row
            <row>, column <col>.

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

                 set color to W/B
                 clear screen
                 ? getattr(0,0)
                 * prints 23

                 print(10,0,"Prints in color at 10,0",getattr(10,0))

  Note:     Getattr() will return the attribute at location <row>,<col>
            based on the current page defined by setpage(), or
            the current virtual screen defined by setscreen()


See Also: setattr() cls() setscreen() palette() standard()

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