At 10:14 -0500 02/20/2002, Matthew DeSimone wrote:
>Quick question. When the return function is called so that a handler
>returns a value, does that exit the handler, or will execution continue?
Well, there's a nice easy way to find out:
on returnTest
return "Returning"
put "Still running"
end
...and then do
put returnTest()
in the message window.
I'm not trying to be snide or obtuse; I'm just trying to suggest that
sometimes a four line test can answer all questions. Think of it as
one of those "teach a person to fish" types of things. ;)
--
Warren Ockrassa | http://www.nightwares.com/
Director help | Free files | Sample chapters | Freelance | Consulting
Author | Director 8.5 Shockwave Studio: A Beginner's Guide
Published by Osborne/McGraw-Hill
http://www.osborne.com/indexes/beginners_guides.shtml
[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!]