Preserved Topic: Does the ELSE always need to be specified |
|
---|---|
Author | Thread |
Paranoid (IV) Inmate From: 127.0.0.1 |
posted 06-20-2001 06:20
When writing an IF ELSE statement, do I always need to specify the ELSE, even if it's empty? |
Bipolar (III) Inmate From: Europe |
posted 06-20-2001 06:29
jope. |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
posted 06-20-2001 07:53 |
Paranoid (IV) Inmate From: 127.0.0.1 |
posted 06-20-2001 14:36
Thanks, guys. One of these days, I might actually understand this stuff..... |
Maniac (V) Inmate From: Brisbane, Australia |
posted 06-20-2001 19:13
Indenting your code may help :P |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 06-20-2001 20:18
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. |