10
votes

I use F# as a scripting language with FSI. Is there a way to include another fsx file in my script? I want to be able to break my scripts into multiple files for larger tasks.

Thanks.

1

1 Answers

19
votes

If I understand the question correctly, you should be able to use the #load directive to do what you want. See http://msdn.microsoft.com/en-us/library/dd233175.aspx.