Android Question Result codes from functions

Ted Fines

Member
Licensed User
All of the examples of File.Copy I've seen don't check for a result code, to see if it actually worked.

Is something like the following valid? Or do you always embed it in a Try..Catch? Or is there something like $? that can be evaluated?

If File.Copy(a,b,c,d) = True then
' successful action
else
' failure action
end if
 
Top