Files
harbour-core/harbour/tests/seconds.prg
Viktor Szakats 1963970a1d 2008-08-07 21:49 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/examples/pp/pp.c
   * contrib/hbmisc/fileread.prg
   * contrib/hbmisc/tests/readfile.prg
   * contrib/hbmisc/tests/twirl.prg
   * contrib/hbmisc/twirler.prg
   * doc/en/readme.txt
   * doc/es/readme.txt
   * harbour-ce-spec
   * harbour-w32-spec
   * harbour.spec
   * source/rtl/achoice.prg
   * tests/boxtst2.prg
   * tests/delimtst.prg
   * tests/devtest.prg
   * tests/disptest.prg
   * tests/inkeytst.prg
   * tests/longdev.prg
   * tests/output.prg
   * tests/round.prg
   * tests/sbartest.prg
   * tests/scroll.prg
   * tests/sdf_test.prg
   * tests/seconds.prg
   * tests/setkeys.prg
   * tests/testhtml.prg
   * tests/version.prg
   * utils/hbdoc/hbdoc.prg
     * Minor formattings, cosmetic updates, 
       homepage made lower case everywhere.
2008-08-07 19:54:10 +00:00

31 lines
589 B
Plaintext

//
// $Id$
//
/* Test SECONDS() */
/* Harbour Project source code
http://www.harbour-project.org/
Donated to the public domain on 2001-03-08 by David G. Holm <dholm@jsd-llc.com>
*/
function Main( cParam )
local n, limit := 10
local cNewLine := HB_OSNewLine()
IF( ! EMPTY( cParam ) )
limit := VAL( cParam )
END IF
OUTSTD( cNewLine )
OUTSTD( SECONDS() )
FOR n := 1 TO limit
IF( EMPTY( cParam ) )
OUTSTD( cNewLine )
OUTSTD( "Pause: " )
INKEY(0)
END IF
OUTSTD( cNewLine )
OUTSTD( SECONDS() )
NEXT
RETURN NIL