returning variables F#(canopy) easiest way -


 member x.logovani(window : string) =             let weburl = ref ""                let actwindow = ref ""                   "login" &&& fun _ ->                 browser.switchto().window(window) |> ignore                 weburl := currenturl()                 actwindow := browser.currentwindowhandle                 return {|weburl,actwindow|}  end 

hello question how pass weburl , actwindoweasiest way, because way of return not working. want call function logovani pass function var window , recieved weburl , actwindow

so fixed this

 member x.logovani(window : string) : string ref =             let weburl = ref ""                    browser.switchto().window(window) |> ignore                 weburl := currenturl()             weburl  end 

Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -