Alice Community  

Go Back   Alice Community > General Discussion > The Lounge

Reply
 
Thread Tools Display Modes
Loop
Old
esayago
Junior Member
 
Status: Offline
Posts: 6
Join Date: Jun 2015
Default Loop - 06-20-2015, 10:11 PM

If you are trying to have an object perform a specific action more than one time then you should try using a loop statement. when using a loop statement you will see that you can set a parameter to repeat a block of code as many times as you want. When it really gets interesting is when that loop is set under a condition, by combining a while statement and a loop statement you could have a programming perform more complex tasks.
   
Reply With Quote
Old
shoff
Member
 
Status: Offline
Posts: 15
Join Date: Jun 2015
Default 06-22-2015, 08:30 PM

I have a hard time getting my loops to do anything specific. What statements are you using?
   
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 ©2024, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.