Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- let readFile =
- let ofd = new System.Windows.Forms.OpenFileDialog() in
- ofd.Title <- "Open a Wren File: ";
- if ofd.ShowDialog() = DialogResult.OK then
- let dataFromFile = Array.toList( File.ReadAllLines(ofd.FileName))
- let D = List.map convertToTuple dataFromFile
- D;
- else
- []
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement