Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FreshWin (c) Fresh Technologies - <b>getchar() video function</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  GETCHAR()                                                   Video Function
 Purpose..: Grab the screen location character
-------------------------------------------------------------------------------
 Syntax...: GetChar( <nRow>, <nCol> ) --> cScrChar

 Arguments: <nRow>     = row on the screen.
            <nCol>     = column on the screen.

 Returns..: nScrChar is the character at the screen location.

 Remark...: It is a high speed function used to pick off the
            character at the given co-ordinates.

 Source...: VIDREAD.C
-------------------------------------------------------------------------------
 Example..: The example will grab a point of the screen.
            Like all of these functions, it uses direct video
            writes for speed.

                cWhatsThere := GetChar( 17, 23 )

See Also: GetAttrFG() GetAttrBG() GetAttr()

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