# Importing a Custom Function File

**URL:** <https://uzu.lurk.org/t/importing-a-custom-function-file/1432>\
**Category:** TidalCycles\
**Tags:** questions\
**Created:** [14 June 2020 18:59 UTC](https://uzu.lurk.org/t/importing-a-custom-function-file/1432 "2020-06-14T18:59:27Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![yaxu](https://uzu.lurk.org/user_avatar/uzu.lurk.org/yaxu/32/2_2.png) [@yaxu](https://uzu.lurk.org/u/yaxu)\
**Post date:** [17 June 2020 10:13 UTC](https://uzu.lurk.org/t/importing-a-custom-function-file/1432/8 "2020-06-17T10:13:56Z")

</div>

You can use :script instead. For multi-line blocks of code you have to wrap in `:{` and `:}` though. Have a look at BootTidal.hs for examples, which is itself loaded using `:script`  
I'm sure there's a way of loading modules without losing current state but am not sure of the best way to do this off the top of my head

---

_[View the full topic](https://uzu.lurk.org/t/importing-a-custom-function-file/1432)._
