http://forums.livecode.com/viewtopic.php?f=9&t=34623
I made a test stack, one button and two fields, with this in the button script:
Code: Select all
on mouseUp
put the seconds into tStart
put "1234567890" into temp -- ten chars
repeat 100000 -- a 1,000,000 char test
put temp after accum
end repeat
put accum into fld 1
put the seconds -tStart into fld 2
end mouseUp
So I knocked the repeat value down to 10,000, got a mere flash of a beachBall and then 100,000 chars were loaded into the field. So I increased the repeat value in steps, and, though the beachBall lasted longer, I got a repeat value of 50,000 (500,000 chars) to load successfully. It took a couple of minutes though, and the "Not Responding" was in the dialog the whole time. That cleared when the process finally completed. But someone would have thought that the process has failed, when in fact my machine and LC were just not talking to each other.
They eventually made up.
I then re-tried 100,000 for a repeat value (1,000,000 chars), and that took 14 minutes. Larger repeat values require longer than linear times, so I am stopping at the one million character test. I suspect that time notwithstanding, there may be no such limit.
But if I learned anything, it was that an app like LC that is "not responding" may in fact just be very busy, and the machine is misinterpreting that to mean it has gone off into the weeds. It may have, of course, but it seems to have always been able to find its way back.
On another note, I have a card with a field that already contains 1,760.000 chars. It takes LC about seven seconds, with the beachBall showing up for the occasion, to display that card.
Craig