Alice Community
>
Alice 2
>
How do I...?
Program End
User Name
Remember Me?
Password
Thread Tools
Display Modes
Program End
#
1
(permalink)
Ben_the_Geek
Guest
Status:
Posts: n/a
Program End -
09-09-2009, 09:14 AM
How can I end the program after it is done running?
Ben_the_Geek
#
2
(permalink)
dubastot
Senior Member
Status:
Offline
Posts: 661
Join Date: Apr 2009
Location: Two Steps From Hell
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.
dubastot
View Public Profile
Send a private message to dubastot
Find all posts by dubastot
#
3
(permalink)
Ben_the_Geek
Guest
Status:
Posts: n/a
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?
Ben_the_Geek
#
4
(permalink)
dubastot
Senior Member
Status:
Offline
Posts: 661
Join Date: Apr 2009
Location: Two Steps From Hell
09-16-2009, 08:59 PM
What do you mean exit itself?
dubastot
View Public Profile
Send a private message to dubastot
Find all posts by dubastot
#
5
(permalink)
Ben_the_Geek
Guest
Status:
Posts: n/a
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
Ben_the_Geek
#
6
(permalink)
dubastot
Senior Member
Status:
Offline
Posts: 661
Join Date: Apr 2009
Location: Two Steps From Hell
09-17-2009, 04:55 PM
Oh, then you just use my method when your program ends. Maybe just add it onto your method.
dubastot
View Public Profile
Send a private message to dubastot
Find all posts by dubastot
#
7
(permalink)
2thebambam
Guest
Status:
Posts: n/a
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.
2thebambam
«
Previous Thread
|
Next Thread
»
Thread Tools
Show Printable Version
Email this Page
Display Modes
Linear Mode
Switch to Hybrid Mode
Switch to Threaded Mode
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 Rules
Forum Jump
User Control Panel
Private Messages
Subscriptions
Who's Online
Search Forums
Forums Home
Announcements
Community News and Announcements
Alice 3
How Do I?
Works In Progress
Share Your World
Share Custom Classes
Bugs and Trouble Shooting
Suggestion Box
Alice 2
How do I...?
Works-In-Progress
Share Worlds
Share Objects
Bugs and Troubleshooting
Suggestion Box
Educators
Teaching with Alice
Teaching Using Alice 3
Teaching Using Alice 2
CS Principles and Alice
AP CSA and Intro to Java and Alice
Workshops
General Discussion
Questions and Comments
The Lounge
Copyright ©2021, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.
Contact Us
-
Alice.org
-
Archive
-
Top