I honestly don't know.

I have just tried my stack in LC 9dp1 and, yes, the thing worked.

So I tried it again in LC 8.1.1 and the thing did not work.

Richmond.

On 16.11.2016 16:13, Richard Gaskin wrote:
Richmond wrote:

Nothing is wrong with this in Livecode 7.1.4

BUT is does not work in Livecode 8.1.1

Bug 18864

Richmond.

On 16.11.2016 14:44, Richmond wrote:
I wonder what's wrong with this:

on mouseUp
   put "make me coffee" into SKRIPT
   set the script of btn "BB" to SKRIPT
end mouseUp


Richmond.

Your sample stack included in the bug report, as well as a more complete example that includes an actual handler definition, both work as expected in v9dp1 under Ubuntu 14..04.

Think about it: if the "set the script..." command didn't work, the Script Editor wouldn't work, and it wouldn't be possible to do any scripting in LiveCode at all.

I suspect something else is in play in your running of the test....



_______________________________________________
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

Reply via email to