Advertisement
Guest User

Untitled

a guest
Jul 28th, 2017
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. let readFile =
  2. let ofd = new System.Windows.Forms.OpenFileDialog() in
  3. ofd.Title <- "Open a Wren File: ";
  4. if ofd.ShowDialog() = DialogResult.OK then
  5. let dataFromFile = Array.toList( File.ReadAllLines(ofd.FileName))
  6. let D = List.map convertToTuple dataFromFile
  7. D;
  8. else
  9. []
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement