Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / Nested If...Else...Endif, Syntax Error, Please HELP

Author
Message
Wegues
19
Years of Service
User Offline
Joined: 14th Mar 2005
Location: Liverpool, UK
Posted: 16th Mar 2005 19:08
I'm using DarkBasic, not pro or editor.

Is it possible to nest If...Endif statements in if...else...endif?

Getting a "Syntax Error.Nest error" When I run code with nested If else endif statements. Can some one help? If you look at code the line with the three stars.
LKFX
19
Years of Service
User Offline
Joined: 14th Mar 2005
Location:
Posted: 17th Mar 2005 07:11
yes its is.
(sounds like you have a endif command missing)

make sure that you have the same amount of "ifs" "endifs"

hope this helps ya

LKFX

Login to post a reply

Server time is: 2024-11-13 19:52:33
Your offset time is: 2024-11-13 19:52:33