Syntax
MilliSec( nMilliSeconds ) --> cNullArguments
nMilliSeconds
Example
PROCEDURE Main()
LOCAL nStart := Seconds()
MilliSec( 200 )
Check( 'Round( Seconds() - nStart, 2 ) >= 0.2 ', Round( Seconds() - nStart, 2 ) >= 0.2, .T. )
RETURN
STATIC PROCEDURE Check( cTitle, xResult, xExpected )
QOut( cTitle + IIF( xResult == xExpected, "OK", "ERROR" ) )
RETURNOutput
Round( Seconds() - nStart, 2 ) >= 0.2 OK