hi im pretty new to xwidget so please excuse me this seems pretty obvious.
im trying to determine if the DownloadFile function was successful. I see it takes 3 parameters and the function it self can return boolean but i dont know how to get it.
eg
Code:
var status = DownloadFile(p1,p2,p3);
print (status);
//-----------------OR--------------------------------
print(DownloadFile(p1,p2,p3));
//---------------------------------------------------
DownloadFile(p1,p2,p3); // this works fine but i don't know if the download was successful. other than the obvious checking the
//widget directory but i need this variable.
In both print instances, in the debugger i get
print: <-- //Nothing
thanks in advance anyone.