# What does \`include\` do?

**URL:** <https://discourse.julialang.org/t/what-does-include-do/121699>\
**Category:** New to Julia\
**Tags:** question\
**Created:** [October 24, 2024, 1:46pm UTC](https://discourse.julialang.org/t/what-does-include-do/121699 "2024-10-24T13:46:17Z")\
**Posts on this page:** 1\
**Showing post:** 20

<div class="post-metadata">

**Author:** ![anon91151494](https://avatars.discourse-cdn.com/v4/letter/a/838e76/32.png) [@anon91151494](https://discourse.julialang.org/u/anon91151494)\
**Post date:** [October 25, 2024, 1:13pm UTC](https://discourse.julialang.org/t/what-does-include-do/121699/20 "2024-10-25T13:13:49Z")

</div>

> [@Benny](#):
>
> Julia’s `include` evaluates source code in a file; it goes through the whole process of text → AST → runtime objects.

Elsewhere, I was told that this isn’t what Julia’s `include` does. I was told that it does a bit more sophisticated version of the C++ preprocessor text substitution of `#include`. Let me see if I can find that.

It may have been here actually, I’ve somewhat lost track.

- [Difference between "using" and "include"? - #4 by Gnimuc](https://discourse.julialang.org/t/difference-between-using-and-include/1739/4)

---

_[View the full topic](https://discourse.julialang.org/t/what-does-include-do/121699)._
