On 8/25/18 6:04 AM, Alex Tweedly via use-livecode wrote:
On 25/08/2018 12:01, Alex Tweedly via use-livecode wrote:
Not sure why yours is crashing, and I admit I haven't really looked
closely :-)
I'm trying to figure out why it crashes too.
on mouseUp
local tSource, tNoise, tWords
local tANoise, tAWords
put the text of fld "fSource" into tSource
put the text of fld "fNoise" into tNoise
repeat for each word W in tNoise
put true into tANoise[W]
end repeat
<snip>
There might be a marginal speed uptick if you replace that repeat loop
with: split tNoise by cr as set
Although after the recent discussion about arrays vs. chunks, maybe not.
--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
_______________________________________________
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