how do I - force the MainLoop to exit 
Author Message
 how do I - force the MainLoop to exit

I suppose this is a really an easy one - but ...
how do I force my MainLoop call to exit ( without exiting the script
off course)
my code have a batch processing part followed by a ui part
and then another batch processing part

?

Sent via Deja.com http://www.*-*-*.com/
Before you buy.



Fri, 05 Jul 2002 03:00:00 GMT  
 how do I - force the MainLoop to exit

Quote:

> I suppose this is a really an easy one - but ...
> how do I force my MainLoop call to exit ( without exiting the script
> off course)
> my code have a batch processing part followed by a ui part
> and then another batch processing part

Destroy your main window.

Regards,
        Slaven

--
use Tk;$c=tkinit->Canvas(-he,20)->grid;$x=5;map{s!\n!!g;map{create$c 'line'=>
map{$a=-43+ord;($x+($a>>3)*2=>5+($a&7)*2)}split''}split"!";$x+=12}split/_/=>'K
PI1_+09IPK_K;-OA1_+K!;A__1;Q!7G_1+QK_3CLPI90,_+K!;A_+1!KQ!.N_K+1Q!.F_1+KN.Q__1+
KN._K+1Q!.F_1+KN.Q_+1Q__+1!KQ!.N_1;Q!7G_K3,09Q_+1!K.Q_K+1Q!.F_1+KN.Q_';MainLoop



Fri, 05 Jul 2002 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Exiting the MainLoop?

2. Exiting MainLoop

3. exiting MainLoop

4. How to exit Tk::MainLoop

5. Mainloop and Tk::Mainloop

6. Forcing a label to show new content outside MainLoop?

7. Mainloop

8. command to update the mainloop during longrunning subs?

9. Undefined pTk's mainloop in package

10. CGI Script Forcing a SSL Connection...can this be done?

11. Running MainLoop in background?

12. BEGIN and MAINLOOP

 

 
Powered by phpBB® Forum Software