4. Including a script file with `include`
| Chapter 1. Language syntax |

## 4. Including a script file with `include`

    include -> 'include' script_URI_string ';'

Including script file `B.xed` into script file `A.xed` is strictly equivalent to replacing in file `A.xed` the `include` directive by the contents of file `B.xed`.

Because macro commands are local to a script file, `include` is mainly useful to include the same set of macro commands into several script files.

Note that it's also possible to run a script file, possibly with a different context node, using command `script`.

3. Comments |  | 5. Namespace declarations