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 AppGameKit Corner / [SOLVED] include command?

Author
Message
pavel_sv_1982
11
Years of Service
User Offline
Joined: 9th Apr 2013
Location: Russia
Posted: 28th Nov 2017 08:37
how it works and where the include command?
I dug a bunch of examples, but did not understand. how to create this file and how to include it in the project.
Somebody help please. thank you very much.
you can not write code examples. just tell me how it works.

The author of this post has marked a post as an answer.

Go to answer

BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 28th Nov 2017 10:09
https://forum.thegamecreators.com/search?q=%23include&type=threads&boardid=
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Quidquid latine dictum sit, altum sonatur
TutCity is being rebuilt
pavel_sv_1982
11
Years of Service
User Offline
Joined: 9th Apr 2013
Location: Russia
Posted: 28th Nov 2017 10:39
ah, that's how it is written! [ #include "filename"]
but I'm looking for it in the examples I can not find. Only function shows.
I initially thought that you do not need to write any of this command, but simply add the .ack file to the project and that's it. And here not all so is simple.
thank you very much for the help.
just looking hard for the forum was difficult to drive.
A search on the forum is not always available. thanks again.

BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 28th Nov 2017 12:22
This post has been marked by the post author as the answer.
You also have #insert
This puts the file contents in exactly the place that you put the command

For example, if you have a file:



And your AppGameKit code is:



You get this:



- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Quidquid latine dictum sit, altum sonatur
TutCity is being rebuilt
pavel_sv_1982
11
Years of Service
User Offline
Joined: 9th Apr 2013
Location: Russia
Posted: 28th Nov 2017 17:51
Thank you very much

Login to post a reply

Server time is: 2024-11-22 21:05:26
Your offset time is: 2024-11-22 21:05:26