<pre>function getErrorString errType,errNum  toComputer  if errType is empty or errNum is empty then return empty  -------------------------------------------------------------------  if errType is "deprotectError" then    if errNum is empty then return "Deprotect was successful."    if errNum is -49 then return "Sorry,that file is busy."    if errNum is -44 then return "Sorry,the disk is locked."    return "Sorry,unexpected file system error: " & errNum  end if  -------------------------------------------------------------------  if errType is "OS" then    if errNum > 0 then return "Parameter error with function"    if errNum is -59 then return "Problem during rename"    if errNum is -54 then return "Attempt to open locked file for writing"    if errNum is -46 then return "Volume locked by software"    if errNum is -45 then return "File locked"    if errNum is -44 then return "Volume locked by hardware"    if errNum is -43 then return "File not found"    if errNum is -37 then return "Bad volume or file name"    if errNum is -36 then return "I/O error"    if errNum is -35 then return "No such volume"    if errNum is -34 then return "Disk is full"    if errNum is -49 then return "File already open for writing"  end if  -------------------------------------------------------------------  if errType is "macRecorder" then    if errNum = -1 then return "No response from MacRecorder."    if errNum = -29 then return "Unit table is full."    if errNum = -34 then return "Disk is full."    if errNum = -35 then return "No such disk volume."    if errNum = -43 then return "Cant find file."    if errNum = -44 then return "Disk is locked."    if errNum = -45 then return "File is locked."    if errNum = -48 then return "Name already in use."    if errNum = -97 then return "Port in use by AppleTalk."    if errNum = -102 then return "No sound in clipboard."    if errNum = -108 then return "Not enough memory."    if errNum = -192 then return "Sound not found. "    if errNum = -194 then return "Add resource failed."    if errNum = -196 then return "Remove resource failed."  end if  -------------------------------------------------------------------end getErrorString</pre>