What is your best practice for setting a script in a script?
J. Landman Gay
jacque at hyperactivesw.com
Sat Jul 15 16:05:21 EDT 2023
On 7/15/23 12:51 PM, Tweedly via use-livecode wrote:
> Maybe keep the script in a custom property ?
That's what I usually do. If the variables or references may change, I use placeholders and the
merge command to replace things before setting the script on the control.
If it's a very short script I sometimes use this method:
set the script of tObj to "on mouseUp;doSomething;end mouseUp"
--
Jacqueline Landman Gay | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
More information about the use-livecode
mailing list