- A Cookbook Topic: "Delay", "WaitUntil" and "Let's see actions"

From: Collection <"Collection">
Date: Sat, 13 May 2006 00:01:46 +0200

----boundary-LibPST-iamunique-1510014273_-_-
Content-type: text/plain

Dear BlackBox users,

first I would like to say thank you to everybody who send me an answer of my
cookbook request. I would like to explain what I need once again:


All I need is to suspend my current foreground task and start it again
automatically not before a given (short) time.

        ... my running program before the delay ...
        Services.DoLaterContinue(notBefore)
        ... my running program after the delay ...

The procedure DoLaterContinue suspend (stop) my program and restart it at
the current position after the time notBefore. This maybe done via the
action control. It needn't the exact time. The notBefore is accurate enough.



Another solution maybe:
Just to have a call to the PROCEDURE "HostOrSystemWorkingLoop". It runs thru
all system tasks once and then returns the control to my program. It is just
a call back functions to keep the cooperative multitasking running. The time
should be use for updating & resize windows, doing the actions and so on.
And of course give the control back to my program.


I won't waste my computer power by doing silly loops. I couldn't believe
that a simple "wait a second" rise so much problems.

Regards

Helmut

--- BlackBox
--- send subject HELP or UNSUBSCRIBE to blackbox{([at]})nowhere.xy



----boundary-LibPST-iamunique-1510014273_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"

e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCBDb3VyaWVyIE5ldzt9fQ0Ke1xj
b2xvcnRibFxyZWQwXGdyZWVuMFxibHVlMDtccmVkMFxncmVlbjBcYmx1ZTI1NTt9DQpcdWMxXHBh
cmRccGxhaW5cZGVmdGFiMzYwIFxmMFxmczIwIERlYXIgQmxhY2tCb3ggdXNlcnMsIFxwYXINClxw
YXINCmZpcnN0IEkgd291bGQgbGlrZSB0byBzYXkgdGhhbmsgeW91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1XHBhcg0KYWxsIHN5c3RlbSB0YXNrcyBvbmNlIGFuZCB0
aGVuIHJldHVybnMgdGhlIGNvbnRyb2wgdG8gbXkgcHJvZ3JhbS4gSXQgaXMganVzdFxwYXINCmEg
Y2FsbCBiYWNrIGZ1bmN0aW9ucyB0byBrZWVwIHRoZSBjb29wZXJhdGl2ZSBtdWx0aXRhc2tpbmcg
cnVubmluZy4gVGhlIHRpbWVccGFyDQpzaG91bGQgYmUgdXNlIGZvciB1cGRhdGluZyAmIHJlc2l6
ZSB3aW5kb3dzLCBkb2luZyB0aGUgYWN0aW9ucyBhbmQgc28gb24uXHBhcg0KQW5kIG9mIGNvdXJz
ZSBnaXZlIHRoZSBjb250cm9sIGJhY2sgdG8gbXkgcHJvZ3JhbS5ccGFyDQpccGFyDQpccGFyDQpJ
IHdvbid0IHdhc3RlIG15IGNvbXB1dGVyIHBvd2VyIGJ5IGRvaW5nIHNpbGx5IGxvb3BzLiBJIGNv
dWxkbid0IGJlbGlldmVccGFyDQp0aGF0IGEgc2ltcGxlICJ3YWl0IGEgc2Vjb25kIiByaXNlIHNv
IG11Y2ggcHJvYmxlbXMuXHBhcg0KXHBhcg0KUmVnYXJkc1xwYXINClxwYXINCkhlbG11dFxwYXIN
ClxwYXINCi0tLSBCbGFja0JveFxwYXINCi0tLSBzZW5kIHN1YmplY3QgSEVMUCBvciBVTlNVQlND
UklCRSB0byBibGFja2JveEBvYmVyb24uY2h9fQBSABTjE2FgAQAA


----boundary-LibPST-iamunique-1510014273_-_---
Received on Sat May 13 2006 - 00:01:46 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:28:00 UTC