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 / can .dbpro files include multiple .dba source files?

Author
Message
Cuddle Bunniezzz 12
15
Years of Service
User Offline
Joined: 14th Jan 2009
Location: Buffalo, NY
Posted: 30th Jan 2009 21:49
I was wondering if one DarkBASIC Pro project file can include multiple source files, like C++ can.

I'm wanting to create a game but i want to "split up" certain aspects of the game (for organization).

Something like this (using the C++ command because I don't know how to link them in DBpro):


So would something like this be possible.

~thanks

http://twewy-fan.com/ <-- The first ever fansite for "The World Ends With You"
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 30th Jan 2009 22:57
Yes, although using the IDE to include the extra files is the preferred method.

Rudolpho
18
Years of Service
User Offline
Joined: 28th Dec 2005
Location: Sweden
Posted: 31st Jan 2009 00:39
(Actually, it's exactly the same syntax in DBP).

However, as Ian said, you probably want to use the IDE instead.

"We know some things about poodles, for example that they are alive, they can bark, they eat meat..."
- Extract from Objects first with Java.
lucifer 1101
15
Years of Service
User Offline
Joined: 26th Jan 2009
Location: Melbourne, Australia
Posted: 31st Jan 2009 05:57
theres a little button in the sidebar called files, that is where you can put all of your include files...

Login to post a reply

Server time is: 2024-09-28 02:31:06
Your offset time is: 2024-09-28 02:31:06