Can you tell me why the extra ;; is needed after the done; ?

By on 2/24/2006 7:36 AM ()

Damon,

Sorry about that. I put that in for when that code is used for fsi. Essentially, "hey, fsi, would you do this stuff now?". That ;; at the end is not needed if you use this as code in an fs file.

---O

By on 2/24/2006 8:08 AM ()

If you use F# Interactive in Visual Studio (new in F# 1.1.10.2, which is being released today) you won't need so many of those pesky ";;"ito terminate interactive entries. Visual Studio automatically adds them for you when you hit "Alt-Enter" (send the selection) or "Alt-Quote" (that's Alt-', send the line). Then you only need them in your source file when you really have a stand-alone, free floating top level expression, which only happens when you're separating out fragments of a script.

If you're using Emacs there are similar interactive modes for sending text across to a console. James Margetson is the emacs king for F#, though he's also the one who implements VFSI (Visual F# Interactive)

By on 2/24/2006 4:45 PM ()
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper