Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- TSDWIN: Clipper 5.0 Interface Library - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

 _twClock( mode, row, col, attr )
 ----------------------------------------------------------------------------
     Display a digital clock on the screen in text mode.

                     *** NOTE ***

     This routine uses Interrupt 1C. CARE MUST BE TAKEN TO TURN THE
     CLOCK OFF WHEN LEAVING THE APPLICATION, EITHER ON PURPOSE OR IN AN
     ERROR CONDITION.

       Arguments:

     mode - "N" 0 turns display OFF
                1 turns display ON

     row  - "N" Screen row.

     col  - "N" Screen column.

     attr - "N" DOS colour attribute ( 0 - 255 )

       Return:

     1 if on, 0 if off or -1 if something is wrong.

       Example:

     _twclock( 1, 1, 5, 31 )

     Turns the clock on at row 1, column 5 in white on blue.

See Also: twClockOn() twClockOff()

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