Alice Community  

Go Back   Alice Community > Alice 2 > How do I...?

Reply
 
Thread Tools Display Modes
Program End
Old
Ben_the_Geek
Guest
 
Status:
Posts: n/a
Smile Program End - 09-09-2009, 09:14 AM

How can I end the program after it is done running?
   
Reply With Quote
Old
dubastot
Senior Member
 
dubastot's Avatar
 
Status: Offline
Posts: 661
Join Date: Apr 2009
Location: Two Steps From Hell
Default 09-10-2009, 01:16 PM

You can just click an exit box or you can create a method to kill the animation. Here is an example of how you can use a method to kill an animation(this is not mine).

When Esc is typed
Do method 1

Method 1=do nothing

tell me if you don't understand this.
   
Reply With Quote
Old
Ben_the_Geek
Guest
 
Status:
Posts: n/a
Default 09-10-2009, 11:31 PM

Thanks,
Yeah I understand what your saying. That is a great idea. So there is no way to have the program exit itself?
   
Reply With Quote
Old
dubastot
Senior Member
 
dubastot's Avatar
 
Status: Offline
Posts: 661
Join Date: Apr 2009
Location: Two Steps From Hell
Default 09-16-2009, 08:59 PM

What do you mean exit itself?
   
Reply With Quote
Old
Ben_the_Geek
Guest
 
Status:
Posts: n/a
Default 09-16-2009, 09:07 PM

Well at the end of the program I want it to exit.
Example
Click run
program plays
program closes
   
Reply With Quote
Old
dubastot
Senior Member
 
dubastot's Avatar
 
Status: Offline
Posts: 661
Join Date: Apr 2009
Location: Two Steps From Hell
Default 09-17-2009, 04:55 PM

Oh, then you just use my method when your program ends. Maybe just add it onto your method.
   
Reply With Quote
Old
2thebambam
Guest
 
Status:
Posts: n/a
Default 11-17-2011, 01:05 PM

i let the program remove the first item on a variable list, but if there is no item the program wil crash and exit.
   
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Copyright ©2021, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.