LOL (in GrowlMorph):
is: rect saneWithRespectTo: morphs
�� �� �� �� ^(morphs anySatisfy: [ :morph | morph owner isNotNil and: [morph bounds
intersects: rect]]) not
for some reason I find this method name quite amusing :3
Let me guess;
1. "World defer: aBlock." defers the event to be called as soon as
possible(not necessarily now).
2. "[Block] fork" is called immediatly, but on a new thread.
3. "<number> <time unit> wait"�� blocks the current thread for specific time
before continuing.
Now rearrange it into:
[
�� �� 10 seconds wait.
�� �� World defer: [
�� �� �� �� Transcript show: 'Hello, World!'.
�� �� ].
] fork.
Into
do: aBlock after: nanoTime
�� �� [
�� �� �� �� 10 seconds wait. �� �� �� �� "<------- you need to say something like nanoTime asNanoSeconds wait. But careful as Delay works up to milliseconds I think, so 5 asNanoseconds asSeconds will just be zero"
�� �� �� �� World defer: aBlock. ��"<-- OK, World is a WorldMorph, wich extends PasteUpMorph, the old World class in Pharo 3.x"
�� �� ] fork.
--
View this message in context: http://forum.world.st/Intro-to-Microsoft-COM-for- Smalltalkers- tp4917738p4917913.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.