by Natter » Thu Feb 25, 2016 9:26 pm
I don't get errors, just nothing happens.
I tried to run the examples with StartThread(), but instead of thread handle this function returns empty.
for example:
PROCEDURE Main
LOCAL pThread
CLS
USE Customer
pThread := StartThread( "ShowTime", 0, MaxCol()-7 )
Browse()
StopThread( pThread )
WaitForThreads()
RETURN
PROCEDURE ShowTime( nRow, nCol )
DO WHILE .T.
DispOutAt( nRow, nCol, Time() )
ThreadSleep( 1000 )
ENDDO
RETURN