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 / includes or loading .dba files

Author
Message
_GTP
21
Years of Service
User Offline
Joined: 16th Sep 2003
Location:
Posted: 24th Nov 2003 07:45
Hey hey,

is there a way in dbp to load .dba files for something like an intro movie or something? just to split the files up and stuff.

load the file and then just execute the code in it.

i guess i'm looking for include() of some sort.
the_winch
21
Years of Service
User Offline
Joined: 1st Feb 2003
Location: Oxford, UK
Posted: 24th Nov 2003 15:12
There is an #include command but the best way is to add them to the project in the ide. Click the Files button in the project manager and add them there.

dbpro : p166mmx @ 233 : 256mb : sb 128pci : sis onboard
_GTP
21
Years of Service
User Offline
Joined: 16th Sep 2003
Location:
Posted: 25th Nov 2003 02:30
ok after adding then i can use #include?
the_winch
21
Years of Service
User Offline
Joined: 1st Feb 2003
Location: Oxford, UK
Posted: 25th Nov 2003 02:37 Edited at: 25th Nov 2003 02:37
When you add them in the project manager the ide appends them onto the end of the main source file when compiling so you can call any functions, gosubs etc as if they where in the main source file. The #include command isn't needed if you do it that way.

dbpro : p166mmx @ 233 : 256mb : sb 128pci : sis onboard

Login to post a reply

Server time is: 2024-11-25 18:45:47
Your offset time is: 2024-11-25 18:45:47