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 / OK here's my wish list...

Author
Message
ZomBfied
23
Years of Service
User Offline
Joined: 2nd Oct 2002
Location:
Posted: 17th Sep 2003 03:31
*Tell us exactly what line (at least) an error comes up in. Now it always stops at the sync command, then if you take out it usually comes up in some line before or after the actual error.

*For "Can't load..." type errors, tell us what it can't load but is trying to load.
For example,

'Can't load image "c:\Dbsuckatdebugging.bmp"' file not found.'

would be a lot more helpful than

'Can't load image on line [some random line]'
as it is now.

That and get rid of Endcase. VB doesn't have it, Qbasic doesn't have it, hell, even that B-word basic doesn't have it.
DrakeX
23
Years of Service
User Offline
Joined: 26th Aug 2002
Location:
Posted: 17th Sep 2003 04:26
blitz doesn't, and C++ doesn't, pascal/delphi doesn't have it... wait NO LANGUAGE BUT DB has ENDCASE! hmmmmmmmmmmmmmm

stop looking at me!
ZomBfied
23
Years of Service
User Offline
Joined: 2nd Oct 2002
Location:
Posted: 17th Sep 2003 11:51
OSX Using Happy Dude
22
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 17th Sep 2003 12:18
C/C++ has break for each section, unless you want to fall through to the next section.


Avatar & Logo by Indi. Come to the UK DBPro Convention in Chichester
adr
23
Years of Service
User Offline
Joined: 21st May 2003
Location: Job Centre
Posted: 17th Sep 2003 13:06
I don't understand what people have got against endcase. Just type the extra 7 letters you lazy bastards.

A wise man once said: "I know that I need codes but I dont know the codes"
IanM
Retired Moderator
23
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 17th Sep 2003 16:36
Actually, it's 8 letters - you forgot the return at the end
ZomBfied
23
Years of Service
User Offline
Joined: 2nd Oct 2002
Location:
Posted: 17th Sep 2003 19:38
Hahah Leave endcase if you want, Hell put an EndElse in there while your'e at it! Just fix the debugging to find the actual line where the error happened.

If a = b
do this
else
do that
endelse
endif
OSX Using Happy Dude
22
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 17th Sep 2003 19:40
But can return be classed as a letter ??


Avatar & Logo by Indi. Come to the UK DBPro Convention in Chichester
CattleRustler
Retired Moderator
22
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 17th Sep 2003 19:59
0A0D (not visible but it's a character)

-RUST-
IanM
Retired Moderator
23
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 17th Sep 2003 21:15
Ok, so I was counting keypresses ... and while we're at it, don't forget the indentation. Each tab or space counts as a keypress
Phaelax
DBPro Master
23
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 17th Sep 2003 22:48
Every key, space, return, has an ASCII value. In C++, Pascal and such, you'll learn this. The string "dog" is actually 4 characters in length. After the 3 letters, there's an invisible NULL character.
QB has endselect instead of endcase I think.
OSX Using Happy Dude
22
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 18th Sep 2003 13:05
But dont forget RETURN is an invisible character...
Anyway, enough of this silliness - the error reporting could be a lot friendlier. It would be nice if LOAD IMAGE/OBJECT etc returned a value back - which would be useful if/when we could turn off the internal error message display.


Avatar & Logo by Indi. Come to the UK DBPro Convention in Chichester
spooky
23
Years of Service
User Offline
Joined: 30th Aug 2002
Location: United Kingdom
Posted: 18th Sep 2003 13:22
And please, for the love of God, if there is a new IDE, can we have proper TAB indents and not multiple space 'pretend' TABS. What is point of pressing TAB to indent for it to stick in 3 or 4 spaces. Makes moving code around more painful. All other editors I use, use a proper TAB character (9) as the indent character.

If your mansion house needs haunting, just call Rentaghost!
OSX Using Happy Dude
22
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 18th Sep 2003 14:18
You'll have to talk to Beavis/David89 about that...


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

Login to post a reply

Server time is: 2026-07-25 07:01:31
Your offset time is: 2026-07-25 07:01:31