stopping an on-screen timer

Eric Chatonet eric.chatonet at sosmartsoftware.com
Fri Jan 20 08:45:49 EST 2006


Hi Alex,

Le 20 janv. 06 à 04:12, Alex Tweedly a écrit :

> Are there any implications of deleting all pendingMessages when  
> working in the IDE ?

Yes!
You will stop all messages currently used by the IDE.
To stop only *external* messages:

function NonIDEPendingMessages
     local tPendingMessages, tFilteredMessages, tLine
     -----
     put empty into tFilteredMessages
     put the pendingMessages into tPendingMessages
     set the itemDel to slash
     repeat for each line tLine in tPendingMessages
       if char 1 to 3 of last item of tLine <> "rev" then put tLine &  
cr after tFilteredMessages
     end repeat
     return char 1 to -2 of tFilteredMessages
  end NonIDEPendingMessages


Best Regards from Paris,
Eric Chatonet
------------------------------------------------------------------------ 
----------------------
http://www.sosmartsoftware.com/    eric.chatonet at sosmartsoftware.com/





More information about the use-livecode mailing list