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 Discussion / Loading files

Author
Message
Uncle Bosse
21
Years of Service
User Offline
Joined: 18th Dec 2003
Location: Sweden
Posted: 27th Feb 2004 14:09
IS ther a way to load a file containing DBcode instead of writing everything in the same file. For example: I was planning to use it when the player enters a new room, then the program would load the new room from the file "room2.dba"
Bishop
22
Years of Service
User Offline
Joined: 18th Dec 2002
Location: In my favorite chair...
Posted: 28th Feb 2004 01:56
use the include command:

#include "room.dba"

or

#inlude "media\include\room.dba"

cheers,
Bishop

"When you were born, you cried and the world rejoiced. Live so when you die, the world cries and you rejoice."
soapyfish
21
Years of Service
User Offline
Joined: 24th Oct 2003
Location: Yorkshire, England
Posted: 29th Feb 2004 15:06
Hey i needed to know that aswell thanks Uncle Bosse for asking and Bishop for ansewring

"fireball"

Login to post a reply

Server time is: 2025-05-22 16:33:00
Your offset time is: 2025-05-22 16:33:00