Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Force 4.0 Reference - restorescreen() restore a saved screen http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 restorescreen()     Restore a saved screen
------------------------------------------------------------------------------
 Declaration
   screen.hdr

 Syntax
   proc restorescreen extern

 Arguments
   None.

 Return
   None.

 Description
   The restorescreen() procedure restores the last screen saved by either the
   savescreen() or savearea() procedure.

   The savearea() and restorescreen() procedures behave as a stack. That is,
   first item saved is the last item restored. Use savescrn() and
   restorescrn() routines if you require random saving/restoring of screens.

 Example
   #define EXAMPLE_SCREEN
   #include example.hdr

   proc Test_restorescreen
   DrawScreen( 'A' )
   savescreen()
   wait
   DrawScreen( 'B' )
   wait
   restorescreen()
   wait
   endproc

   proc main
   Test_restorescreen()
   endproc

See Also: savearea() savescreen()

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