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.

Author
Message
mirrellk
13
Years of Service
User Offline
Joined: 2nd Mar 2011
Location:
Posted: 3rd Mar 2011 13:35
Hi All -

I am trying to include a dba file in my program using the #include command at the very top of my program (Starting in column 1):
Format: #include "BBBGUI_CONSTANTS.dba"

My program will not compile...meaning it will not even attempt to compile it with this statement in there (let alone throw an error). As soon as I REM it out, compiles fine...Any idea what the issue may be?

Thanks!

mirrellk
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 3rd Mar 2011 16:27
In DB Pro, you do not need to #include the file. You should import it using the IDE list of dba files.

Admiral MH
13
Years of Service
User Offline
Joined: 10th Feb 2011
Location: TX, USA
Posted: 3rd Mar 2011 18:09
I would advise what BatVink said. It's better because it is a quick way to open the document to find what code is in there. (in your case the constants)
mirrellk
13
Years of Service
User Offline
Joined: 2nd Mar 2011
Location:
Posted: 3rd Mar 2011 18:56
Thanks guys...much appreciated!!!

mirrellk
Burning Feet Man
16
Years of Service
User Offline
Joined: 4th Jan 2008
Location: Sydney, Australia
Posted: 3rd Mar 2011 22:12
I have currently 10 or so files in my DbPro project and haven't used the #include command once.

Help build an online DarkBASIC Professional help archive.
[href= http://dbprohelp.wikia.com/wiki/DarkBASIC_Professional_Help_Wiki]DarkBasic Help Wikia[/href]

Login to post a reply

Server time is: 2024-11-23 02:27:18
Your offset time is: 2024-11-23 02:27:18