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 / old DB project in DBPro

Author
Message
Rik
23
Years of Service
User Offline
Joined: 12th Jun 2003
Location: United Kingdom
Posted: 12th Jun 2003 20:32
Hello all,

I have a problem with a rather large program I wrote in the original DB that I have to work on with DBPPro.

When I try and compile the program it returns and error No. 100013, Command out of place".
this program compiles fine with the original DB.

can anyone tell me what thiis us?

Thanks

Rik
MrTAToad
23
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 12th Jun 2003 21:35
Not without some code, we cant - unless you've got a command out of place...

Good news everyone! I really am THAT good...
http://www.nickk.nildram.co.uk/ for great plug-ins - oh my, yes!
Shadow Robert
23
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 12th Jun 2003 21:43
there are some subtle and some more complete rewrites of certain functions, which means there is compatibility but it isn't absolute you need to actually need ot find out which functions you've used that are different

Within the Epic battle of the fates the Shadow and the Angel will meet. With it will harbinger the very fight of good vs evil!
Attreid
23
Years of Service
User Offline
Joined: 27th Nov 2002
Location:
Posted: 12th Jun 2003 23:12
you can try to find where is the error by "isolating" ?? hmm ... hidding your if ... endif one after another
remstart and remend are usefull ^^

"He will come...the voice from the outer world,
bringing the holy war, the Jihad, which will cleanse the Universe and bring us out of darkness."
Rik
23
Years of Service
User Offline
Joined: 12th Jun 2003
Location: United Kingdom
Posted: 12th Jun 2003 23:14
Thanks for replying,

The reason I did not post any code is it was generating the error on an endif statement! (see clip)

The line was at No. 1716 and it seems to be related to the size of the program (1843 lines before functions).

Does DBPro have any source code length limits that the earlier version did not have?

Rik

Inkybro
23
Years of Service
User Offline
Joined: 31st Dec 2002
Location: Where I live :)
Posted: 12th Jun 2003 23:21
Well, considering DBPro is supposed to be better than DBC you'd think not, lol.

It's better to be pissed off than pissed on, eh?

Current DBPro Savings Report: $1.28 Saved
MrTAToad
23
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 12th Jun 2003 23:28
I think you'll find the problem is either before or after the line given - the code snippet compiles okay...

Good news everyone! I really am THAT good...
http://www.nickk.nildram.co.uk/ for great plug-ins - oh my, yes!
Rik
23
Years of Service
User Offline
Joined: 12th Jun 2003
Location: United Kingdom
Posted: 12th Jun 2003 23:33 Edited at: 12th Jun 2003 23:36
Thanks Attried and everyone else

I just tried isolating the section of code, the error message still appears but this time its in the middle of the isolated code! The code is isolated correctly as the editor has ghosted it.

This is why I thought I was hitting some limit in the compiler. This is very anoying as its a program that I need to develop and with time been tight I may have to ditch DBPro and go back to the older version, this I do not want to do.

Does anybody know what the error 100013 refers to?

Rik

Scorpyo
23
Years of Service
User Offline
Joined: 26th Aug 2002
Location: italy
Posted: 12th Jun 2003 23:50
limbs in DBPro are numbered in a different way than in DBC
BuzzBob
23
Years of Service
User Offline
Joined: 12th Apr 2003
Location:
Posted: 13th Jun 2003 00:25
Theres such a load of confusion between converting from DBC to DBpro, why doesn't someone make a program for it?

Login to post a reply

Server time is: 2026-07-17 21:22:19
Your offset time is: 2026-07-17 21:22:19