![]() Preserved Topic: Does the ELSE always need to be specified (Page 1 of 1) |
|
---|---|
Paranoid (IV) Inmate From: 127.0.0.1 |
![]() When writing an IF ELSE statement, do I always need to specify the ELSE, even if it's empty? |
Bipolar (III) Inmate From: Europe |
![]() jope. |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
![]() |
Paranoid (IV) Inmate From: 127.0.0.1 |
![]() Thanks, guys. One of these days, I might actually understand this stuff..... |
Maniac (V) Inmate From: Brisbane, Australia |
![]() Indenting your code may help :P |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
![]() Yeah, think of "else" as something that you're allowed to *add* to an if statement, not something that you're allowed to leave out. It's an accessory, sorta. |