Duplicate handler names

Peter Haworth pete at lcsql.com
Tue Dec 18 17:10:28 EST 2012


I was surprised to discover today that duplicate handler names in a script
are not flagged as errors when the script is compiled, nor do they cause a
runtime error.

I can see that a command handler and a function handler might be OK with
duplicate names (although not sure why you'd want to do that) but I can't
think of any reason why command handlers with the same name should be
allowed.


Pete
lcSQL Software <http://www.lcsql.com>



More information about the use-livecode mailing list