functions may be called as commands in IDE, but not in standalone

Dr. Hawkins dochawk at gmail.com
Wed Sep 2 10:13:51 EDT 2015


After a couple of days of frustration, compiling standalone to get test
messages, I discovered:

function someFunct a, b


then a script that has

someFunct cat, dog



will execute someFunct in the IDE.  In a standalone, it fails to find the
handler.


In my case, someFunct was originally a command, and changed to be a
function to possibly return an error code.   I changed the places where it
is regularly called, but missed a couple of rare ones.

Is this a known/reported issue?
-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462



More information about the use-livecode mailing list