Why not just set a global variable and check it in the loop? Have the cancel button set the variable to True when pressed.
On 5/13/09 10:01 AM, "Ludovic Thébault" <ludovic.theba...@laposte.net> wrote: > Hello, > > How interrupt a repeat loop by a button ? > While a copy of a lot of files with rev, i want the user can cancel > the copy. > > repeat for each line l in it > if char 1 of l <> "." then > put convertpath(tstack&"/"&l) into tpath1 > put convertpath(tlibrary&"/") into tpath2 > get shell("cp "&tpath1&&tpath2) > end if > end repeat > > Thanks. > _______________________________________________ > use-revolution mailing list > use-revolution@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution -- Stephen Cox Chief geek | Networkx | networkxfla.com _______________________________________________ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution