Hi,
I think that the code in the template "file1.fs" file just prints something, but it doesn't wait for a user input at the end, so it closes immediately. If you want to play with F# in "console" application than you can add something like the following code at the end of the file (to wait for user input):

1
2
 
System.Console.ReadLine() |> ignore

If you want to write a windows application than switch to WINEXE (this will hide the console window) and look at the windows forms samples in the F# distribution. The a sampe in <i>samples\fsharp\SimpleForm<i> looks like a good start.

By on 8/17/2007 5:37 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