Re: Waiting in a program
Dear Martin:
On Oct 19, 4:04*am, Martin <s...@spam.spam> wrote:
> Hello
>
> I need to allow the program to idle while in a
> loop to allow another screen within the executable
> to be switched to.
>
> DO WHILE TRUE
> // some code including the exit
>
> // wait state allowing control
> ENDDO
>
> If certain conditions are triggered I need to
> stall this loop and go to another screen in
> the same application and do something there.
>
> ApplicationExec(EXECWHILEEVENT) and Sleep()
> both don't work in this instance.
>
> Any ideas please?
How about
DO WHILE inkey(0.1) = 0
ENDDO
.... with your choice of redirector based on keystroke?
David A. Smith
|