Created
June 25, 2016 16:26
-
-
Save s952163/34181c600d7a4bf7b6f81682b3239876 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
open System.IO | |
let name = "Fred Thompson" | |
let addLine (name: string) = | |
use wr = new StreamWriter(@"c:\tmp\test.txt") | |
wr.WriteLine(name) | |
wr.Close() | |
addLine name |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment