Monte Goulding wrote:

> On 15 Jun 2017, at 10:28 am, Richard Gaskin wrote:
>
>> on mouseUp
>>  repeat
>>    answer "Hi"
>>  end repeat
>> end mouseUp
>
> Lol… that I would abort in my head before it enters the script
> editor ;-)

It's what software testers call a test. ;)

It isolates the issue to the fewest lines of code needed to demonstrate the issue.

It would be great to remember to never put an answer dialog in an untested loop, and to inform newcomers that they need to use the answer and ask dialogs with great care to avoid any circumstances which might call them repeatedly.

But in our imperfect world I see questions about how to cancel out of such loops from time to time, and even manage to have a "D'oh!" moment myself when I forget to treat LC more delicately than other xTalks I've used.

What is it about LC that makes safely exiting with Ctrl-. harder here than in other xTalks?

--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 ____________________________________________________________________
 ambassa...@fourthworld.com                http://www.FourthWorld.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

Reply via email to