Rerrcode
| Rerrcode | 
  Purpose
 
  
  Synopsis
 
 function Rerrcode:integer
 
  Return value
 
 
 0 if the last operations were executed successfully.
 
  Example
 
 
 The following example prints an error message in case of errors in R evaluations:
 
  Reval('missingfunction()')
 if Rerrcode<>0 then
  writeln('Something went wrong: ', Rerrmsg)
  Rclearerr
 end-if
  Further information
 
 
  The
 Rerrcode is set to non-zero values in case of errors, but not cleared after successful operations, so it is possible to check it after several operations to verify that all executed without errors. To clear it, use function
 Rclearerr.
 
 
  Related topics
 
  
