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>update a bar on screen</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 Update a bar on screen
------------------------------------------------------------------------------

 Syntax

        GT_BarUpdate( nCurrent , nTotal , nTop , nLeft )

 Arguments:

      nCurrent - Current value to be displayed
      nTotal   - Maximum value that can be displayed
      nTop     - Bar row
      nLeft    - Left column of bar

 Returns:

      NIL

 Description:

      Updates a bar at the given coordinates.  The length of the bar is
      given by :

          nCurrent / nTotal * 40

 Examples:



 Header File: GT_LIB.CH

 Source: BARUPDAT.PRG

 Author:  Martin Colloby

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