Alice Community  

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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
How do i stop a method?
Old
rohan123444
Guest
 
Status:
Posts: n/a
Default How do i stop a method? - 12-14-2009, 07:04 PM

How do I stop a method which uses an infinite loop. Basically what im doing is if the switch is up this method runs which uses an infinite loop to move two cars but what i need help on is stopping the method when the switch is turned to the off position. The problem is since the method uses an infinite loop the method never ends, therefore i cant stop it.

HELP WOULD BE APPRECIATED.
   
Reply With Quote
 

Tags
loop, stopping

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 ©2020, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.