Alice Community  

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

Reply
 
Thread Tools Display Modes
While loops
Old
ikx
Guest
 
Status:
Posts: n/a
Default While loops - 11-25-2008, 12:42 PM

I was wondering how you would make two while loops start together without their other conditions starting at the same time.(without the if not stmts starting.)
-------------
while a>b
do-this
-------------
if not-do this
-------------
while c>d
do-this
------------
   
Reply With Quote
Multiple Whiles
Old
DrJim
Guest
 
Status:
Posts: n/a
Default Multiple Whiles - 11-26-2008, 05:25 PM

Not completely sure about your question but think the attached is what you want. The key principle is that any ("reasonable" ) number of methods can be running at one time.
Attached Files
File Type: a2w Two Whiles.a2w (366.7 KB, 46 views)
   
Reply With Quote
Reply


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.