What your doing should work, in fact as your prefixing "clear" with the module name your shouldn't even need the open statement. A couple of point that you might want to look at:

- F# has no "depends" so you need to explicitly order your files, you need to make sure "AnotherFile" appears in the commandline before the file your trying to use it from.
- F# modules are quite different to OCaml modules, using the module keyword you can rename the whole file . It maybe an good idea to use reflector [1] to check what your module is actually called.

Cheers,
Rob

[1] [link:www.aisto.com]

By on 2/21/2008 1:47 AM ()

Ok it works now.

I had already read that the file order was important for compiling, but i thought it was the tab order...not the order on the project tree.

Thanks for your answer.

By on 2/21/2008 2:14 AM ()
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper