i have a loop and 2 x "Say"
Code: Select all
STATIC PROCEDURE SayInfo( cInfo )
DlRange.Label_INFO.Value := cInfo
RETURNCode: Select all
STATIC PROCEDURE StartDownLoad( cRef, cCategory, nStart, nEnd )
SayBarText( TIME() + " Start Import" )
nTimeStart := SECONDS()
FOR ii := nStart TO nEnd
...
nAllItems := StripHTMLCode( cFile, cCategory, ii ) // 2nd loop work
...
nTimeCalc := ( SECONDS() - nTimeStart ) / nCount
cText := "Time left : " + Sec2HMS( ( ( nEnd - nStart ) - nCount ) * nTimeCalc )
SayInfo( cText ) // does not respond when "big" file
NEXT
SayBarText( TIME() + " End Import" )
SayBarText( TIME() + " read " + LTRIM( STR( nEnd - nStart ) ) + " Topic : " + SEC2HMS( nTimeStop - nTimeStart ) )Code: Select all
FUNCTION StripHTMLCode( cFile, cCategory, nThreadNo )
DO WHILE nMemoPos < nMemoLen
...
SayBarText( cAuthor + " " + cTopic ) // work
ENDDO"inner" loop with SayInfo() work but it say "no response"
"outer" loop with SayBarText() does NOT update ... and also "CLOCK" in Tasklist "stay" ... but App run
what do i miss