F# is sensitive to indentation and linage (e.g. the calling "Donwload" [next line] ()
// Learn more about F# at http://fsharp.net
namespace JQD
type Downloader() =
let folder="test"
let Download()=
async {
let f=System.IO.File.ReadLines("")
let g="456"
return f
}
member this.DA()=
async {
while(true) do
let n=Download
()
}
|>Async.StartImmediate
Sunday, May 30, 2010
F# Asyn
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment