[BLACKBOX] Running command and Wait a second

From: Zinn, Helmut <"Zinn,>
Date: Tue, 8 Dec 2009 13:07:37 +0100

Dear BlackBox users,
 
there are always two different ways to look at the same problem.
 
In the old days of Dos programming the application program calls the operating system functions.
At the today’s Windows programming the operating system calls the application program.
 
The new philosophy is: Don't call us! We call you!
 
Who is the boss?
Who is calling?
Is it the BlackBox runtime system or the running command?
Is it possible to have two chiefs?
 
One way is:
   Services.DoLater(func, time);
and the other way will be:
   Xxxxxxxx.Delay(time); or Xxxxxxxx.Wait(time);
And not continue before the time is passed.
 
Which way to prefer depends on the point from where are you looking to that topic.
 
Why is it not possible to have both ways?
How to suspend the running command for a short time and then reschedule that command at the current position?
During the suspend time the background tasks can run.
 
Regards
 
Helmut Zinn
.
 
 
 
 
 
 

---- To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy
Received on Tue Dec 08 2009 - 13:07:37 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:30:39 UTC