P
Paul Mars
How to pause in the middle of a sub?
I can not use a timer. The Sub can not be broken in two.
tx,
paul
I can not use a timer. The Sub can not be broken in two.
tx,
paul
* "Paul Mars said:How to pause in the middle of a sub?
I can not use a timer. The Sub can not be broken in two.
So you can also use this asFor example, 'System.Threading.Thread.Sleep(1000)'.
* "Cor Ligthert said:Did you read that from the answer by Paul which he told he had found it
himself
Today in the morning I read it. When posting I was not really sure if
it will help and I didn't see Paul's "self-answer".
Barry said:I can't figure out from all this how to actually just simply pause
any further execution but do all tasks before the pause as the
System.Threading.Thread.CurrentThread.Sleep(1000) or
System.Threading.Thread.Sleep(1000) halts execeution of some code
lines before this statement.