Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- GT_LIB v1.0 Reference Guide Release 1.0 - <b>save a screen.</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 Save a screen.
------------------------------------------------------------------------------

 Syntax

         GT_saveScr([<nTop>], [<nLeft>], [<nBottom>], [<nRight>])
                                                               --> cScr

 Arguments:

       <nTop>    - Top line of screen area to save,
                   defaults to 0
       <nLeft>   - Leftmost col. of screen area to save,
                   default to 0
       <nRight>  - Rightmose col. of screen area to save,
                   defaults to maxrow()
       <nBottom> - Bottom line of screen area to save,
                   defaults to maxcol()

 Returns:

       cScr      - A string consisting og position information +
                   saved screen as a character string

 Description:

       Save screen (or partial screen) with position

       Would have been nicer to save as an array but that would
       have wasted too much memory.

       NOTE: If you use C, be aware that the return string
             can and often does contain embedded NULs

 Examples:

 Source: SAVESCR.PRG

 Author:  Andy M Leighton

See Also: GT_RESTSCR()

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