Reputation: 3
let mutable steve = 1348;
let steve <- 202;
printfn "%d" steve;
System.Console.ReadKey();
I cannot simply get the num. 202 to print out in the Console. What am I dpoing wrong anyway?
Upvotes: 1
Views: 62
Reputation: 4850
You don't need the 2nd "let", nor the semicolons.
let mutable steve = 1348
steve <- 202
printfn "%d" steve
System.Console.ReadKey() |> ignore
Upvotes: 5