----boundary-LibPST-iamunique-1725640579_-_-
Content-type: text/plain
Hello, koend!
k> I agree with your remarks, and have found a solution fore some of them.
>> But it should be considered that the module may be unloaded while
>> the Delay is still running. This leads to "illegal execution" trap.
>> Some protection is obviously required here.
k> The only way I can think of doing that is by loading, at the start
k> of the delay, a module that IMPORTs XyBoss5, using module Meta and
k> unloading it the end of Delay. I guess this a bit overkill if
k> we consider unloading of modules only being done by developers?
Yes, I suppose so. I couldn't think of a better way around this
problem too.
>> Another problem is that background services are not working during
>> this kind of Delay either.
k> Background services: I tried calling 'Services.actionHook.Loop' as
k> in Hostmenus.Loop but this causes
k> a trap => no solution.
That shows why something like Application.ProcessMessages cannot be
easily implemented in BlackBox. HostMenus.Loop is not designed for
multiple entry.
k> Screen updates: ok now, calling "Windows.dir.Update(NIL)"
...
k> Calling KillTimer now after the delay.
...
k> Well, I attach a version with the above improvements. Maybe it's
k> usefull for what Helmut is looking
k> for: 'Delaying' old Oberon programs. I guess that involvs repetitive short delays.
It does work perfectly nice now.
---=====---
Alexander
--- BlackBox
--- send subject HELP or UNSUBSCRIBE to blackbox{([at]})nowhere.xy
----boundary-LibPST-iamunique-1725640579_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCBDb3VyaWVyIE5ldzt9fQ0Ke1xj
b2xvcnRibFxyZWQwXGdyZWVuMFxibHVlMDtccmVkMFxncmVlbjBcYmx1ZTI1NTt9DQpcdWMxXHBh
cmRccGxhaW5cZGVmdGFiMzYwIFxmMFxmczIwIEhlbGxvLCBrb2VuZCFccGFyDQpccGFyD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