[tt]
Store 600 to ccTimer
Store "" to lcThisTime, lcLastTime
do while .t.
lcLastTime = lcThisTime
lnFiles=adir(laAray , FileName2Check)
lcThisTime = laAray(4)
if lcThisTime != lcLastTime
throwup flags
endif
for x = ccTimer to 1 step -1
lcMsg = time() + chr(13) + ;
"Next Loop " + alltrim(str(x)) + chr(13) + ;
"Ctrl-End To Stop" + chr(13) + ;
"ESC For Next Loop"
wait lcMsg window nowait
lnLastKey = inkey(1)
do case
case lnLastKey = 27
exit
case lnLastKey = 23
exit
case lnLastKey = 159
exit
endcase
endfor
do case
case lnLastKey = 23
set step on
case lnLastKey = 159
exit
endcase
enddo
[/tt]
David W. Grewe
Dave@internationalbid.com
ICQ VFP ActiveList #46145644