functions may be called as commands in IDE, but not in standalone
mark at livecode.com
Wed Sep 2 17:01:01 CEST 2015
>> Therefore, if you are seeing this in the IDE then it is likely via
>> something IDE specific you are using *or* you have lingering
>> definitions in
>> a library stack or similar somewhere which you are loading into the
> I'll create another test, then. It may have run the code in an older
> version, but I know the code executed in the IDE for the simple reason
> I have the resultant directory . . .
I suspect this is a lingering definition which was somewhere in the
message path in the IDE.
When the engine looks for what handler to call it checks each stage in
the message path in order for the pair (handler type, handler name). So,
if you have (command, myFunc) at one level, and (function, myFunc) at
Will call different handlers.
Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/
LiveCode: Everyone can create apps
More information about the use-livecode