On 09/22/2016 03:39 PM, Roger Eller wrote:
Possibly. But I learned long ago to never assume even the most basic
knowledge because "brain-farts" are a real problem. ;)
<g> Very much agreed.
But this isn't a problem with the mouseUp handler per se. When you
declare a handler ("on xxx" or "function xxx") you can't give it
explicit parameters at that time. And the script compiler properly
complains if you do. Instead you give the parameter a name and can then
use the name in the handler's code to do something, as in Mike's
example. All LC handlers work exactly this way, and the mouseUp handler
is no exception.
use-livecode mailing list
Please visit this url to subscribe, unsubscribe and manage your subscription