repeat with messages

Dar Scott dsc at swcp.com
Fri May 16 19:42:37 EDT 2014


So what is the right way to make the screen update?  At one time we could use ‘unlock screen’ but that doesn’t seem to work any more.  Or am I remembering wrong?

And about the compiler…  I file a lot of bug reports but reporting every time the compiler does not complain about bad syntax seems excessive to me.  We still have to get our work done.  Aren’t we getting a new compiler soon, anyway?  (I guess I’m trying to justify my neglect here.)

Dar

On May 16, 2014, at 5:32 PM, Richard Gaskin <ambassador at fourthworld.com> wrote:

> Dar Scott wrote:
> 
> > I don’t see this in the ‘repeat’ entry in the dictionary.
> 
> "with messages" is a modifier for the "wait" command - you'll find it documented there.
> 
> 
> > So are these two the same but the first has no time hit?
> >
> > repeat … with messages
> >    …
> > end repeat
> >
> > repeat …
> > wait 0 seconds with messages
> >    …
> > end repeat
> >
> > I’ll have to try this.  The wait makes the loop a lot slower.
> 
> That old trick for updating the screen was specific to OS X and has been fixed with the Cocoa changes for v6.7 - see the comments here from Mark Waddingham on a related issue:
> <http://quality.runrev.com/show_bug.cgi?id=12163>
> 
> To explore the intended uses of "wait <time> with messages" here's a demo stack that allows multiple loops to run simultaneously:
> <http://www.fourthworld.net/channels/lc/IdleHour.rev>
> 
> 
> > Unfortunately, a lot of things compile without complaint.
> 
> Whenever you find the engine will compile a script that contains syntax errors without complaining, please file a bug report.
> 
> -- 
> Richard Gaskin
> Fourth World Systems
> Software Design and Development for the Desktop, Mobile, and the Web
> ____________________________________________________________________
> Ambassador at FourthWorld.com                http://www.FourthWorld.com
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the Use-livecode mailing list