I am well aware that I shouldn't expect *everything* in Livecode to be
intuitive, but this one bugs me:
Having a handler like
function DoStuff_1 a, b
return a
end DoStuff_1
When you do "put DoStuff_1 (2,3)" the result is 2.
But with
on DoStuff_2 a, b
put a
end DoStuff_2
The result of DoStuff_2 (2, 3) is 2,3. "put a*b" produces an error.
This means, parameters are passed differently to command handlers and
function handlers. Right?
Is that the way it should be and why?
Thanks for your patience
Thomas
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode