open FSharp.Charting open System [<EntryPoint>] let main argv = printfn "%A" argv let x = Chart.Line [ for x in -100 .. 100 -> x, pown x 3] let y = Console.ReadKey(); 0 //return an integer exit code
Hello, I am trying to play with F # in PROJECT mode NOT a script. So far I have the code above, and also he told me to add a link to System.Drawing, which I also did.
I have 0 errors or warnings when compiling and it works fine. A console screen will appear, but nothing else will happen. The graph just does not appear or something else.
I tried this in an interactive window and there it works great. Any ideas?
source share