This site requires JavaScript, please enable it in your browser!
Greenfoot back
Holladerwaldelf
Holladerwaldelf wrote ...

2017/8/22

if else with greenfoot stride

Holladerwaldelf Holladerwaldelf

2017/8/22

#
I would like to do an if-else-statement with stride. Somehow i am not able to get the else-branch. The editor never proposes an "else" statement. There is probably a very easy way to do that. I would greatly appreciate some help
Yehuda Yehuda

2017/8/22

#
If you go after the If Statement an option will be added into the side bar towards the bottom which says "Add elseif". You can't do 'else if' without an 'if' before it, and you have to do 'else if' not 'if else'.
You need to login to post a reply.