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 / Need help with nesting

Author
Message
the desktops
20
Years of Service
User Offline
Joined: 9th Oct 2003
Location:
Posted: 3rd Nov 2003 00:19
When I code under DB Pro I get an error when i excute my code, it says something nesting error on line 46. can you tell me what is a nesting error and how can i prevent it from happening again.

300 MHZ, 64 MB RAM, 6.4 GB, 56X CD, WINDOWS XP PRO, 4MB SHARED GRAHPICS MEMORY! I USE THIS PACKARD BELL SYSTEM TO DEVELOP UNDER DARKBASIC. THIS IS A PRETTY FAST MACHINE TO BE AN PACKARD BELL SYSTEM!
Bishop
21
Years of Service
User Offline
Joined: 18th Dec 2002
Location: In my favorite chair...
Posted: 3rd Nov 2003 00:59
well, a nesting error can mean many things....most common for me is i forget to put an endif on an if command....that will return a nesting error, and it will highlight the LOOP in your command...hope i helped,

Bishop

"When you were born, you cried and the world rejoiced. Live so when you die, the world cries and you rejoice."
the desktops
20
Years of Service
User Offline
Joined: 9th Oct 2003
Location:
Posted: 3rd Nov 2003 01:16
if you looked at my source you would of seen that i added a endif. this is giving me a headache, but i'm not going to give up.

300 MHZ, 64 MB RAM, 6.4 GB, 56X CD, WINDOWS XP PRO, 4MB SHARED GRAHPICS MEMORY! I USE THIS PACKARD BELL SYSTEM TO DEVELOP UNDER DARKBASIC. THIS IS A PRETTY FAST MACHINE TO BE AN PACKARD BELL SYSTEM!
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 3rd Nov 2003 02:16
you forgot LOOP at the bottom

-RUST-
Bishop
21
Years of Service
User Offline
Joined: 18th Dec 2002
Location: In my favorite chair...
Posted: 3rd Nov 2003 07:29
sorry didn't see your code.....but yeah....your loop IS missing...

"When you were born, you cried and the world rejoiced. Live so when you die, the world cries and you rejoice."
the desktops
20
Years of Service
User Offline
Joined: 9th Oct 2003
Location:
Posted: 3rd Nov 2003 13:36
Thank you very much! I will try the code later and see if it will work this time!

300 MHZ, 64 MB RAM, 6.4 GB, 56X CD, WINDOWS XP PRO, 4MB SHARED GRAHPICS MEMORY! I USE THIS PACKARD BELL SYSTEM TO DEVELOP UNDER DARKBASIC. THIS IS A PRETTY FAST MACHINE TO BE AN PACKARD BELL SYSTEM!
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 3rd Nov 2003 15:40


-RUST-

Login to post a reply

Server time is: 2024-09-21 07:28:05
Your offset time is: 2024-09-21 07:28:05