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>display a progress bar and allow esc option.</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 Display a progress bar and allow Esc option.
------------------------------------------------------------------------------

 Syntax

         GT_Progress(<nCounter>,<lSetup>, ;
             <lAllowEsc>,<nMax>) -> lContinue

 Arguments:

       <nCounter> is the value to base the bar on.
       <lSetup> Initialise !
       <lAllowEsc> Can User Press Esc ?
       <nMax> Max value to close on.

 Returns:

       lContinue

 Description:

       Display a progress bar and allow Esc option.

 Examples:

       // Setup allowing Esc
       GT_Progress(NIL,.T.,.T.,LASTREC())

       // Use it
       DO WHILE GT_Progress(RECNO())
           Update()
       ENDDO

 Source: GT_PROGR.PRG

 Author:  Martin Bryant

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