For out parameters, you can either

let returnVal, outParam = FunctionA(42)

where F# automagically turns an out parameter into a tuple result, or you can

let mutable outParam = null : Collection<B> let result = FunctionA(42, &outParam) where the "&" says to pass the mutable by reference (to 'ref' or 'out' param).

By on 2/11/2009 10:21 PM ()

Thanks! That's exactly what I need.

By on 2/11/2009 10:46 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