home *** CD-ROM | disk | FTP | other *** search
/ Power CD-ROM!! 7 / POWERCD7.ISO / prgmming / clipper / working.prg < prev    next >
Text File  |  1993-10-14  |  2KB  |  74 lines

  1. /*
  2.  * File......: WORKING.PRG
  3.  * Author....: Martin Colloby
  4.  * BBS.......: The Dark Knight Returns
  5.  * Net/Node..: 050/069
  6.  * User Name.: Martin Colloby
  7.  * Date......: 18/4/93
  8.  * Revision..: 1.0
  9.  *
  10.  * This is an original work by Martin Colloby and is placed in the public
  11.  * domain.
  12.  *
  13.  * Modification history:
  14.  * ---------------------
  15.  *
  16.  * $Log$
  17.  *
  18.  */
  19.  
  20.  
  21. /*  $DOC$
  22.  *  $FUNCNAME$
  23.  *      GT_WORKING()
  24.  *  $CATEGORY$
  25.  *      Video
  26.  *  $ONELINER$
  27.  *      Output "Working" in white on red on the bottom line
  28.  *  $SYNTAX$
  29.  *      GT_Working()
  30.  *  $ARGUMENTS$
  31.  *      None
  32.  *  $RETURNS$
  33.  *      NIL
  34.  *  $DESCRIPTION$
  35.  *      Output "Working" in white on red on the bottom line of the screen
  36.  *  $EXAMPLES$
  37.  *
  38.  *  $SEEALSO$
  39.  *
  40.  *  $INCLUDE$
  41.  *      GT_LIB.CH
  42.  *  $END$
  43.  */
  44.  
  45. *
  46. #include "GT_LIB.ch"
  47.  
  48. FUNCTION GT_Working
  49.  
  50. /****************************************************************************
  51.  Purpose - Output a flashing White on red message on bottom line
  52.  Returns - None
  53.  Author  - Martin Colloby
  54.  Created - 27/6/91
  55. ******************************************************************************
  56.  Parameters - None
  57.  Privates   - cString - String to output
  58.               nCol    - Column of start of text
  59.  Externals  - None
  60. ****************************************************************************/
  61.  
  62. LOCAL cString := " Working ... "
  63. LOCAL nCol    := ( MAXCOL() + 1 - LEN( cString ) ) / 2
  64.  
  65. * Output the message
  66. @ MAXROW() , nCol - 1 SAY "╡"
  67. GT_ColorSet( C_WARNING )
  68. @ MAXROW() , COL()    SAY cString
  69. GT_ColorSet( C_NORMAL )
  70. @ MAXROW() , COL()    SAY "╞"
  71.  
  72. RETURN NIL
  73. *
  74.