Thread: If/Else
View Single Post
Posts: n/a
Default 05-04-2009, 09:06 PM

Bascially I think you have the idea of an if-else statement.

It is a conditional statement, just a logical switch.

If "a certain condition is true"

then "a certain event will happen i.e. a variable will change, a method is called"

Else" a different condition will occur, this could be the start of another
if-then else statement"

Ok I tried to include some alice code with color's but because of the forum's file size restriction I could only attach it in a .txt document.
Attached Files
File Type: txt if-else example.txt (931 Bytes, 15 views)

Last edited by HisWorld; 05-04-2009 at 09:34 PM. Reason: trying to attach a file
Reply With Quote