Re: [BLACKBOX] Don't Call us & ReadKey & long running commands

From: [at]} <Bob>
Date: Fri, 1 Apr 2011 19:42:35 +0100


You can't write coroutines in the way you would with Modula-2. You can use Services instead - have a look at the documentation for the Services module. This is essentially the same as being called by the event loop when the system would otherwise be idle.

 

B

 

From: BlackBox [mailto:BLACKBOX{([at]})nowhere.xy
Sent: 01 April 2011 18:19
To: BLACKBOX{([at]})nowhere.xy
Subject: Re: [BLACKBOX] Don't Call us & ReadKey & long running commands

 


_____


The question is: Who is calling? "Don't call us, we'll call you!" Who is the boss? The analyser or the reader? Why should we have a boss (main program)? Why isn't it possible that both procedures are calling each other? What about both procedure having equal rights. Calling is equal to Return (symmetry).


_____


 

This sounds like coroutines. But, is it possible to write coroutines with Component Pascal?

_____

Why should I have a long running command with my own windows process message loop? Why can't I call the BlackBox message loop? I mean: One call runs ones thru the BlackBox message loop and then it returns to the caller. Nothing will be frozen.

_____

 

I am afraid I donīt know the BlackBox message loop.

But this is very interesting. Thanks.

---- To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy

---- To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy
Received on Fri Apr 01 2011 - 20:42:35 UTC

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