So the "Funscript" page here has a sample. Now I have loaded the sample into my Visual Studio 2012. I am not familiar with Visual Studio .NET and am only learning F# very recently. The last line in the sample pages which is:
do Runtime.Run(components=components, directory="Web")
always throws an error. In fact the Visual Studio IDE(Compiler) cannot seem to recognize Runtime.
If this was a language like Java, one would try to import a library and so I tried using System.Runtime, but still the Visual Studio IDE does not recognize and the line throws an error saying :
"The namespace or module "Runtime" is not defined.
Two questions
- How can I get around this?
- Is there any link that teaches F# for the complete beginner that also involves loading external libraries?
open FunScript
andopen FunScript.TypeScript
– John PalmerSystem.Runtime
andSystem.Runtime.InteropServices
at MSDN, but theRuntime.Run
is not in these libraries, I believe it is something specific to funscript rather than the F# libs – John Palmer