Welcome to the SRP Forum! Please refer to the SRP Forum FAQ post if you have any questions regarding how the forum works.
fsmsg without displaying error message
in OpenInsight
Hi, please look at the following code:
I want to get the error text associated with status. How can I get the error text without a message box being put up, which fsmsg does.
RV = CopyOSFile(FileName,original_file_name)
if RV then
OSDelete FileName
end else
error_msg = "Reason unknown."
status = Get_Status(errCodes)
if status then
error_msg = FsMsg(errCodes)
end
Error = "Could not copy the file ":FileName:" to ":original_file_name:" Reason: ":error_msg
I want to get the error text associated with status. How can I get the error text without a message box being put up, which fsmsg does.
Comments
Thanks