Alice Community

Alice Community (http://www.alice.org/community/index.php)
-   The Lounge (http://www.alice.org/community/forumdisplay.php?f=4)
-   -   If/Else (http://www.alice.org/community/showthread.php?t=11178)

esayago 06-20-2015 04:00 PM

If/Else
 
Hey guys, just wanted to share with you what I've learned today with Alice. If/Else statements are just amazing, you can have your program decide what to do depending on the result of an equation or any data you may want to enter, you can do this by using an If/Else statement and and compare results or use true or false values. As you can see this type of statements allows the programmer to compare two variables, but you can actually have more possible answers by adding another if/else statement inside the existing if/else statement. make sure you use functions from the wold object, take a look at those, to use them you have to drag and drop them over (true or false) the existing parameter..

Have fun

cmachua 06-21-2015 01:20 AM

How cool, I'll be doing this in the morning. Finally my book is here and I can catch up.


All times are GMT -5. The time now is 11:33 PM.

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