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 / could not understand command at a line where I have no command

Author
Message
Bush jumper
18
Years of Service
User Offline
Joined: 28th Nov 2005
Location: United Kingdom
Posted: 13th Dec 2005 03:48
I am extremely confused when I use the check syntax, an error message comes back could not understand command at line 393 and opens a new blank source file under the error message, my last line of code is at line 335
any help would very much appreciated

Life goes on
BN2 Productions
20
Years of Service
User Offline
Joined: 22nd Jan 2004
Location:
Posted: 13th Dec 2005 05:23
something that you need to realize(it took me many time to also) is that when darkBASIC says that it reaches a problem with your code at a specific line number, it can be anywhere from 5+ lines before where it says the error is. For instance, if it says "error at line 25" then the error may be at line 20,21,22,23,24, or 25. It may be before 20 as well, but not usually. So errors kind of require a bit of searching on your own accord to find.

Hope this helps.
TDK
Retired Moderator
22
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Posted: 13th Dec 2005 06:34
When the reported error line number is greater than the last line of your program, then usually it means that the error is with one of the lines in a #include or external file.

TDK_Man

Bush jumper
18
Years of Service
User Offline
Joined: 28th Nov 2005
Location: United Kingdom
Posted: 14th Dec 2005 01:55
thank you very much for your help

Life goes on

Login to post a reply

Server time is: 2024-11-27 10:52:18
Your offset time is: 2024-11-27 10:52:18