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 Professional Discussion / Bug in DBPro Editor?

Author
Message
ATHAN
22
Years of Service
User Offline
Joined: 11th Sep 2003
Location:
Posted: 11th Sep 2003 15:02
Hi!
I am trying to convert a game source from DB to DBPro. I have 5 differnet dba files and a main file where I include them. My main problem is that in the DBP editor when there is a syntax error in a file, it gives me a wrong line number! For example it sais line 686 when the error is at line 2018 and line 686 is a blank line!!!

More specifically it gives me the error: "Variable 'type' name is not valid at line 686". Ok I found where the error was! But it was 1500 lines below!!!

Any ideas?

Athan
BatVink
Moderator
23
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 11th Sep 2003 15:08 Edited at: 11th Sep 2003 15:10
Yes, it's a problem.
More importantly, delete the "#include" lines in your main source file, and simply add the included files to the project.

If you do both, it goes big time screwy!

It won't fix your line numbering problem, though it will stop spurious errors that never existed in the first place.

I tend to move a function into the main source file when editing, then move it back out when I'm happy with it. The error reporting is more accurate that way.

flibX0r
23
Years of Service
User Offline
Joined: 14th Feb 2003
Location: Western Australia
Posted: 11th Sep 2003 17:08
Hey, StevieVee, you took my advice!

Yeah, i think i might put this in the Bug report section, because it has been reported by numerous people, including me

I can't do that.
The king of he potato people won't let me.
Current Project: "Jelly Wars : Episode 2" entry for alienware compo
OSX Using Happy Dude
22
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 11th Sep 2003 17:13
Unfortunately, if it is a problem with the editor, then there is no chance of it getting fixed...


Avatar & Logo by Indi. Come to the UK DBPro Convention in Chichester
Dragon of Logic
22
Years of Service
User Offline
Joined: 10th Sep 2003
Location:
Posted: 11th Sep 2003 18:17
Why would it be impossible to fix? Is it a third-party editor or something?
Dave J
Retired Moderator
23
Years of Service
User Offline
Joined: 11th Feb 2003
Location: Secret Military Pub, Down Under
Posted: 11th Sep 2003 18:20
Yes, and unfortunately it appears the third party has gone 'bankrupt'

"Computers are useless they can only give you answers."
OSX Using Happy Dude
22
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 11th Sep 2003 18:37
I might enquire on LLRGT whether Guy can make the source code availiable - doubtful, but there you go...


Avatar & Logo by Indi. Come to the UK DBPro Convention in Chichester
BatVink
Moderator
23
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 11th Sep 2003 19:10
Quote: "Hey, StevieVee, you took my advice!"


Yes, I did, sorry if I forgot to respond on the other thread.

This DBC to DB Pro learning curve is quite steep. The language and syntax is fine, but you get used to all the glitches and quirks of a language, and forget they were ever there. Then you start again with a new version...

David T
Retired Moderator
23
Years of Service
User Offline
Joined: 27th Aug 2002
Location: England
Posted: 11th Sep 2003 20:46
Quote: "Unfortunately, if it is a problem with the editor, then there is no chance of it getting fixed..."


I don't really se any reason why it can#t be fixed. SO what if your company goes bust? That shouldn't have affected the IDE work. You can still release an upgrade, no?

Quote: "LLRGT"


lol

c:/dos
c:/dos run
run dos run
OSX Using Happy Dude
22
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 11th Sep 2003 20:53
I dont think Guy wants to, especially as RGT as a company is out of buiness.

Unfortunately the editor code isn't availiable either.


Avatar & Logo by Indi. Come to the UK DBPro Convention in Chichester
David T
Retired Moderator
23
Years of Service
User Offline
Joined: 27th Aug 2002
Location: England
Posted: 11th Sep 2003 21:15
Quote: "I dont think Guy wants to, especially as RGT as a company is out of buiness"
.

Okay. Seems a weird reason, I see no reason why he couldn't want to, maybe he wants to try and forget about DB and start anew?

Oh well.

c:/dos
c:/dos run
run dos run
OSX Using Happy Dude
22
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 11th Sep 2003 21:23
We'll never know...


Avatar & Logo by Indi. Come to the UK DBPro Convention in Chichester

Login to post a reply

Server time is: 2026-07-23 15:49:17
Your offset time is: 2026-07-23 15:49:17