* /harbour/* -> /*
* moved whole Harbour source tree one level up to
avoid single 'harbour' top dir
35 lines
640 B
Plaintext
35 lines
640 B
Plaintext
/*
|
|
* $Id$
|
|
*/
|
|
|
|
PROCEDURE Main()
|
|
|
|
CLS
|
|
|
|
? "DEFAULT IDLEREPEAT =", Set( _SET_IDLEREPEAT )
|
|
?
|
|
? "Idle Block should be displayed multiple times until key or 10 seconds elapsed!"
|
|
? "Press any key to begin..."
|
|
?
|
|
Inkey( 0 )
|
|
|
|
hb_idleAdd( {|| QOut( "Idle Block" ) } )
|
|
Inkey( 2 )
|
|
|
|
Set( _SET_IDLEREPEAT, .F. )
|
|
|
|
hb_idleAdd( {|| QOut( "Idle Block2" ) } )
|
|
|
|
CLS
|
|
? "Idle Block & Block-2 should display ONCE! while waitning for key or 10 seconds elapsed!"
|
|
?
|
|
Inkey( 2 )
|
|
|
|
?
|
|
? "Again - Idle Block & Block-2 should display ONCE! while waitning for key or 10 seconds elapsed!"
|
|
?
|
|
Inkey( 2 )
|
|
?
|
|
|
|
RETURN
|