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 / Included function reporting error

Author
Message
Alpha Mike
15
Years of Service
User Offline
Joined: 22nd Aug 2010
Location: Bristol, UK
Posted: 2nd Sep 2010 21:37
Hi,

I have a small example project:

main.dba



function.dba



I keep getting the error:

The name 'test_function' duplicated in the program inside Function.dba.


Does anyone know what I am doing wrong?
Alpha Mike
15
Years of Service
User Offline
Joined: 22nd Aug 2010
Location: Bristol, UK
Posted: 2nd Sep 2010 22:02
OIC!
any dba projects included in your project doesn't need to be #includ'ed!

I thought #include was just like in C

sorry for the interruption

Login to post a reply

Server time is: 2026-07-24 23:11:54
Your offset time is: 2026-07-24 23:11:54