| Author |
Else without an if
|
Lisa Beglaw
Ranch Hand
Joined: Jul 16, 2005
Posts: 65
|
|
I am getting the error ese without an if on the last line of my code... I think I just have some {} missing or out of place but I can't figure out which, I need someone new to look at cause I am going blind. Thanks [ August 07, 2005: Message edited by: Lisa Beglaw ]
|
 |
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35438
|
posted

0
|
Yes, you've got one too many "}" before your else. An editor that shows matching braces can do wonders in cases like these...
|
Android apps – ImageJ plugins – Java web charts
|
 |
Lisa Beglaw
Ranch Hand
Joined: Jul 16, 2005
Posts: 65
|
|
|
GOT IT!!! I love having this site here as a safety net, but I love it when I can figure it out for myself!
|
 |
Lisa Beglaw
Ranch Hand
Joined: Jul 16, 2005
Posts: 65
|
|
Thanks Ulf...I had my return statement in the wrong spot too. Correction, there are alot of mistake in that!  [ August 07, 2005: Message edited by: Lisa Beglaw ]
|
 |
 |
|
|
subject: Else without an if
|
|
|