Manually enter a scrip into btn "BB"

Then modify your first mentioned script to:

on mouseUp
  put the script of btn "BB" into oldScript
  put "make me coffee" into newScript
  set the script of btn "BB" to newScript
  put the script of btn "BB" into checkScript
  breakpoint
end mouseUp

With debug mode ON, running the script should stop at the breakpoint
and you should be able to check the values of:

oldScript
newScript
checkScript

_______________________________________________
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