Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Proclip2 Library - <b> savecurs() </b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 SAVECURS() 

          SAVECURS provides the programmer with the ability to save the
          current cursor shape and position on the video screen.  This is
          extremely useful when using any type of on-line help system or
          other functions which temporarily occupy the screen and you'd like
          the cursor to return where it was when completed.  See RESTCURS.


      Format: 

               <memvar> = savecurs()


      Parameters: 

               None.


      Examples: 

               1.   Save the current cursor shape and position while invoking
                    a subfunction.

                    .
                    .
                    .
                    aCursor = savecurs()
                    .
                    (do a sub function)
                    .
                    restcurs(aCursor)
                    .
                    .
                    .

      Returns: 

               <memvar>..a numeric variable which will contain the cursor
                         shape and position on the screen.  These values are
                         embedded in this variable and the variable will
                         return a zero (0) value if accessed from Clipper.


      Cautions: 

               In order to properly restore the cursor care should be taken
               not to use the numeric variable in any other fashion.

See Also: RESTCURS()

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