>Polling is bad... try this one without letting your processor burn.
>
>DECLARE Sleep IN Win32API INTEGER nMilliseconds
>Sleep(10000) &&10 seconds
Hi Marvin. I am familiar with the Sleep API - it is also extensively refered to in this thread. I agree that "polling is bad" but its not my code :) The loop code was from Dennis Lindeman's post. Personally I would simply insert a INKEY(1) in the loop which is even easier than Sleep().
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.