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.

AppGameKit Classic Chat / Multi Source Question

Author
Message
Luca91
11
Years of Service
User Offline
Joined: 1st Sep 2012
Location: Italy
Posted: 5th Oct 2012 22:40
Hello,

Now that my game is near to the Beta stage, I'd like to clean up the code.
I'd like to split my code in more files.

How can I inlcude those files to my main source code ?

In C I was using #include "file.h", but how can I do this in basic ?

Thanks
Ancient Lady
Valued Member
20
Years of Service
User Offline
Joined: 17th Mar 2004
Location: Anchorage, Alaska, USA
Posted: 5th Oct 2012 22:43
Yes, you can and the syntax is exactly the same (without the trailing semi-colon).

Cheers,
Ancient Lady
AGK Community Tester
Luca91
11
Years of Service
User Offline
Joined: 1st Sep 2012
Location: Italy
Posted: 5th Oct 2012 22:46
Oh silly me! You are 100% right!

eheh thanks anyway

Login to post a reply

Server time is: 2024-05-03 00:08:10
Your offset time is: 2024-05-03 00:08:10