Heads up, don't use "secure" as a handler name

J. Landman Gay jacque at hyperactivesw.com
Sat Sep 10 14:04:25 EDT 2011


I had a function named "secure()" that's worked fine forever. It takes a 
text string as a parameter, processes it as SSL, and returns the secure 
string.

As of LiveCode 4.6.4, "secure" is apparently an undocumented keyword. It 
not only throws an error and prevents scripts from compiling, it also 
prevents the script editor from populating its handler list. Basically 
it aborts whatever it touches.

Changing the function name to "secureString()" fixed it. So just a 
heads-up in case you've got something like that in your code.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com




More information about the Use-livecode mailing list