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
Newbie Brogo
21
Years of Service
User Offline
Joined: 10th Jul 2003
Location: In a Pool of Cats
Posted: 10th Dec 2003 04:52
how would i use the #include command in DBC, i did

and then i did this

but it doesnt do anything, im sure i'm doing something wrong, anyone help a guy out?

You did what? For who?! For how many jellybeans?!?

Mougli
20
Years of Service
User Offline
Joined: 10th Dec 2003
Location: United Kingdom
Posted: 10th Dec 2003 12:16 Edited at: 10th Dec 2003 15:20
hey brogo

to use the include command type something like this in the called file:

** called file **
Function print_hello()
print "hello"
endfunction
**

then in the main code have

** main code **
#include "test2.dba"
Print_hello()
**

as you see you have to call the parts of the program you want through the use of functions(it wont just run itself)

Is the glass half empty - or half full?
Newbie Brogo
21
Years of Service
User Offline
Joined: 10th Jul 2003
Location: In a Pool of Cats
Posted: 11th Dec 2003 05:10
ok, thanks, worked fine

You did what? For who?! For how many jellybeans?!?

Login to post a reply

Server time is: 2024-09-21 11:56:18
Your offset time is: 2024-09-21 11:56:18