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 / compilation problems

Author
Message
phil d
21
Years of Service
User Offline
Joined: 25th Nov 2002
Location:
Posted: 28th Nov 2002 11:39
I have some nasty problem when compiling DB pro programs with include.
Everything is ok, i modify some code in the include file and after I have the error #100008 parameter "" do not match '' inside the

I didn't modify the . The code call is correct.
Even if I remove my modification, I still have the same error.
If I save all or quit and restard the editor some time it solve the problems.

I made the test with DBPRO patch 2 and 3.

Does anybody has an idea.

Thanks

Phil
MrTAToad
21
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 28th Nov 2002 12:28
Try putting the stuff thats in the #include into the main program

Good news everybody! I really am THAT good...
phil d
21
Years of Service
User Offline
Joined: 25th Nov 2002
Location:
Posted: 28th Nov 2002 14:01
Year, I still hav problems. SO it does not seem to come from include. I have several strand problems. I can't use function input parameters as function parameters in the body of function. I have the same error.
ex :
function testfunt(toto$)

phil d
21
Years of Service
User Offline
Joined: 25th Nov 2002
Location:
Posted: 28th Nov 2002 14:07
I still have problems. So it does not seem to come from include. I have several strange problems. I can't use function input parameters as function parameters in the body of the function. I have the same error.
ex :
function testfunt(toto$)
titi$=mid$(toto$,2)
endfunction
I have the 100008 error for mid$

load image fileselector$(1)+"\dir\file.jpg",fileselectordata(11)
does not work but
= "\dir\file.jpg"
fileselector$(1)+filename$,fileselectordata(11)
work.
and so on.
Last one some time the editor clear some of my project files.

I going to un install everything and reinstall all.

MrTAToad
21
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 28th Nov 2002 14:10
The function compiles okay, so, yes, a re-installation might be worth doing.

Make sure all the Dark Basic Professional sub-directories are gone (so there is nothing left for it to be confused on).

Good news everybody! I really am THAT good...
phil d
21
Years of Service
User Offline
Joined: 25th Nov 2002
Location:
Posted: 28th Nov 2002 23:34
Same problem after re-installation.
I found a solution. All problems are removed if I remove my library files from the niclude source files windows of the editor.
I thinks it's a bug in the source file management.

Login to post a reply

Server time is: 2024-05-04 04:58:19
Your offset time is: 2024-05-04 04:58:19