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.

DarkBASIC Discussion / So what did i screw up

Author
Message
alpha numeric characters
21
Years of Service
User Offline
Joined: 17th Jan 2004
Location:
Posted: 8th Aug 2004 06:50
I was working on hitting the ground to fast error and when i attempted to run it it said there was a nesting error.
All my loops are capped and my ifs are ended.
What did I do wrong.
Joe Cooning
22
Years of Service
User Offline
Joined: 29th Mar 2003
Location: United States
Posted: 8th Aug 2004 13:23
What aresa does DBC highlight when you exit and read the error?(We need general area of code)

Ilya
21
Years of Service
User Offline
Joined: 10th Aug 2003
Location:
Posted: 8th Aug 2004 13:36
I don't think DBC highlights a line if there is a nesting error(DBP doesn't)

-Ilya
Damokles
21
Years of Service
User Offline
Joined: 28th May 2003
Location: Belgium
Posted: 8th Aug 2004 19:15
Well, you really make your code difficult. When I see



Wouldn't it be much easier to make



It would make your code much shorter and easy to read.



By the way, Joe Cooning, the colors you choose for your sig are marvelous (and the order too)


- Mind the gap -
alpha numeric characters
21
Years of Service
User Offline
Joined: 17th Jan 2004
Location:
Posted: 8th Aug 2004 22:25
its in this area. I took it out my game (remstart remend) and it worked fine. All it says is nestig error on the loop command.
btw Thx Damokles
alpha numeric characters
21
Years of Service
User Offline
Joined: 17th Jan 2004
Location:
Posted: 8th Aug 2004 22:28
wait I think i see what wrong
alpha numeric characters
21
Years of Service
User Offline
Joined: 17th Jan 2004
Location:
Posted: 8th Aug 2004 22:32
i forgot to end the ground collision if

it tells me now that my label is an invalid command
i figure that out in a secon.
Thx.
alpha numeric characters
21
Years of Service
User Offline
Joined: 17th Jan 2004
Location:
Posted: 9th Aug 2004 10:20
Thx but i found new error. It says matrix tile doesn't exist(ok something just hit me but i forgot)

it is around the first line to the first loop end
thx for the help

Login to post a reply

Server time is: 2025-05-25 10:12:02
Your offset time is: 2025-05-25 10:12:02