At 8:04 PM +0200 2/17/04, Peter Bochan wrote:


Thanks Irv, it's really better to use sendSprite when I want to call a
unique handler. Judging from your message, the only way to use call
function, is still through list.

The call statement can take either a single object reference OR a list of object references. In your example, it looked you need to be able to send a message to more than one reference, so the list of references was the logical option.




And one more thing: why did you correct your post to sendSprite, #bumpCounterH, 2)? The previous post was just fine.


In my original posting, I wrote:


sendSprite(1, #bumpCounterH, xref, 2)

after I sent it, I realized that the "xref" was left over from your original code. So I changed it in order to show that the "xref" should be removed:

sendSprite(1, #bumpCounterH, 2)

which was the right way of doing it.

Glad it helped!

Irv

--

Multimedia Wrangler.

[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]

Reply via email to