Alice Community  

Go Back   Alice Community > General Discussion > The Lounge

Thread Tools Display Modes
Prev Previous Post   Next Post Next
Junior Member
Status: Offline
Posts: 6
Join Date: Jun 2015
Default If/Else - 06-20-2015, 05:00 PM

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
Reply With Quote

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.